mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-03 03:56:52 -04:00
highlights(query): prefer lua-match
This commit is contained in:
parent
18c393108e
commit
741260618d
1 changed files with 2 additions and 2 deletions
|
|
@ -28,7 +28,7 @@
|
|||
(#match? @number "^[-+]?[0-9]+(.[0-9]+)?$"))
|
||||
|
||||
((program . (comment)* . (comment) @include)
|
||||
(#match? @include "^;+ *inherits *:"))
|
||||
(#lua-match? @include "^;+ *inherits *:"))
|
||||
|
||||
((program . (comment)* . (comment) @preproc)
|
||||
(#match? @preproc "^;+ *extends"))
|
||||
(#lua-match? @preproc "^;+ *extends"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue