vim-go-syntax
vim-go-syntax copied to clipboard
Fast, 'tree-sitter'-like Vim Syntax Highlighting for Go
E.g.: ```go type Foo struct { A, B, C, D Foo } ``` The commas after `A` and `B` won't be highlighted, but the comma after `C` will be. Need...
I'm not sure if I've set this up properly and it may be causing conflict issues I'm not aware of.
- Multiline comma not highlighted in structs e.g. the `,` isn't highlighted: ```go type Foo struct { A, B string } ``` - Semicolons not highlighted in interfaces - Embedded...
Hello, I believe the `default` keyword isn't assigned to the `goSwitchKeywords` group, but it gets an override for `goLabel`. VIM - Vi IMproved 9.1 (2024 Jan 02, compiled Mar 02...
When the cursor is inside an `if`/`else` or `switch` with `foldmethod` set to `syntax` the surrounding function actually gets folded instead of the conditional block itself. Example: ```go func main()...