commit edf9a897f089191f2b43985f7ebc11a0b540bb44 parent 60f69014a801891d084542cf98ba2aa0d476164a Author: Christian Clason <c.clason@uni-graz.at> Date: Sun, 21 May 2023 19:22:28 +0200 fix(treesitter): update highlights for query (#23699) captures for `; extends` and `; inherits` Diffstat:
| M | runtime/queries/query/highlights.scm | | | 8 | ++++---- |
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/runtime/queries/query/highlights.scm b/runtime/queries/query/highlights.scm @@ -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"))