tree-sitter / tree-sitter-go

Go grammar for tree-sitter
MIT License
310 stars 65 forks source link

Miss highlights for multiple variables declaring in a single line #101

Closed jlhg closed 1 year ago

jlhg commented 1 year ago

The example code:

圖片

The variable b and c aren't highlighted.

jlhg commented 1 year ago

It seems the file highlights.scm on https://github.com/emacs-tree-sitter/tree-sitter-langs/blob/master/queries/go/highlights.scm is too old. Updating highlights.scm can resolve this issue.