Move 'misc' high-lighting to end of file

Turns out that order *matters* for queries.

Tree-sitter will stop at the first match it seems. So I want the
hyper-general 'identifier' matching right at the end to avoid overriding
more specific rules.
This commit is contained in:
Bruno BELANYI 2022-06-03 19:58:16 +02:00
parent 752f941589
commit 67b555c381

View file

@ -1,11 +1,3 @@
; Misc {{{
(comment) @comment
(type_identifier) @type
(field_identifier) @property
(identifier) @variable
; }}}
; Keywords {{{
[
"array"
@ -56,4 +48,12 @@
] @punctuation.bracket
; }}}
; Misc {{{
(comment) @comment
(type_identifier) @type
(field_identifier) @property
(identifier) @variable
; }}}
; vim: sw=2 foldmethod=marker