Move 'literals' high-lighting to end of file

Once again, seems like order matters, and I want to be able to write more specific queries.
This commit is contained in:
Bruno BELANYI 2022-06-03 20:30:45 +02:00
parent aff11eefce
commit bd42c2c9c1

View file

@ -33,13 +33,6 @@
] @keyword ] @keyword
; }}} ; }}}
; Literals {{{
(nil_literal) @constant.builtin
(integer_literal) @number
(string_literal) @string
(escape_sequence) @string.escape
; }}}
; Operators {{{ ; Operators {{{
(operator) @operator (operator) @operator
@ -72,6 +65,13 @@
name: (identifier) @variable.parameter) name: (identifier) @variable.parameter)
; }}} ; }}}
; Literals {{{
(nil_literal) @constant.builtin
(integer_literal) @number
(string_literal) @string
(escape_sequence) @string.escape
; }}}
; Misc {{{ ; Misc {{{
(comment) @comment (comment) @comment