Summary: | Go (Golang) missing Unicode escapes, 1.13 number literals and 1.18 generic keywords | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-syntax-highlighting | Reporter: | pile.trade |
Component: | syntax | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | christoph, walter.von.entferndt |
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/frameworks/syntax-highlighting/commit/e462713d397525e6b359742125bbee075fdc49ca | Version Fixed In: | |
Sentry Crash Report: |
Description
pile.trade
2022-09-17 16:19:04 UTC
Hi, might you be interested in contributing a patch to solve these issues? We can't maintain all language definitions on our own. For some introduction how to do that, please see https://invent.kde.org/frameworks/syntax-highlighting/-/blob/master/README.md A possibly relevant merge request was started @ https://invent.kde.org/frameworks/syntax-highlighting/-/merge_requests/385 Git commit e462713d397525e6b359742125bbee075fdc49ca by Jonathan Poelen. Committed on 09/11/2022 at 01:42. Pushed by cullmann into branch 'master'. Go: improved support for literal numbers, add unicode escape characters and new predefined type - add binary (0b) and octal (0o) prefix - add hedecimal float format (0x1.fp-2) - add imaginary suffix (123i) - add digit separator (1_2_3) - add any and comparable keyword type - add little Unicode escapes ('\uHHHH') and big Unicode escapes ('\uHHHHHHHH') M +7 -0 autotests/folding/test.go.fold M +8 -1 autotests/html/test.go.dark.html M +8 -1 autotests/html/test.go.html M +7 -0 autotests/input/test.go M +8 -1 autotests/reference/test.go.ref M +78 -27 data/syntax/go.xml https://invent.kde.org/frameworks/syntax-highlighting/commit/e462713d397525e6b359742125bbee075fdc49ca |