fix(treesitter): update highlights for query (#23699)

captures for `; extends` and `; inherits`
This commit is contained in:
Christian Clason 2023-05-21 19:22:28 +02:00 committed by GitHub
parent 60f69014a8
commit edf9a897f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"))