mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 10:45:16 -07:00
fix(treesitter): update highlights for query (#23699)
captures for `; extends` and `; inherits`
This commit is contained in:
parent
60f69014a8
commit
edf9a897f0
@ -27,8 +27,8 @@
|
||||
((parameters (identifier) @number)
|
||||
(#match? @number "^[-+]?[0-9]+(.[0-9]+)?$"))
|
||||
|
||||
((program . (comment) @include)
|
||||
(#match? @include "^;\ +inherits\ *:"))
|
||||
((program . (comment)* . (comment) @include)
|
||||
(#lua-match? @include "^;+ *inherits *:"))
|
||||
|
||||
((program . (comment) @preproc)
|
||||
(#match? @preproc "^; +extends"))
|
||||
((program . (comment)* . (comment) @preproc)
|
||||
(#lua-match? @preproc "^;+ *extends"))
|
||||
|
Loading…
Reference in New Issue
Block a user