highlights(query): prefer lua-match

This commit is contained in:
Christian Clason 2023-05-21 11:48:08 +02:00
parent 18c393108e
commit 741260618d

View file

@ -28,7 +28,7 @@
(#match? @number "^[-+]?[0-9]+(.[0-9]+)?$")) (#match? @number "^[-+]?[0-9]+(.[0-9]+)?$"))
((program . (comment)* . (comment) @include) ((program . (comment)* . (comment) @include)
(#match? @include "^;+ *inherits *:")) (#lua-match? @include "^;+ *inherits *:"))
((program . (comment)* . (comment) @preproc) ((program . (comment)* . (comment) @preproc)
(#match? @preproc "^;+ *extends")) (#lua-match? @preproc "^;+ *extends"))