diff options
| author | Christian Clason <c.clason@uni-graz.at> | 2023-05-21 11:48:08 +0200 |
|---|---|---|
| committer | Christian Clason <c.clason@uni-graz.at> | 2023-05-21 19:22:05 +0200 |
| commit | 741260618d30c2cdb8706f8bcea273557a25bbfa (patch) | |
| tree | 35a72285eaa1d506a85762113c59e49bf3a290a0 | |
| parent | Update parsers: cuda, glsl, hlsl, ispc, objc, ocaml, ocaml_interface (diff) | |
| download | nvim-treesitter-741260618d30c2cdb8706f8bcea273557a25bbfa.tar nvim-treesitter-741260618d30c2cdb8706f8bcea273557a25bbfa.tar.gz nvim-treesitter-741260618d30c2cdb8706f8bcea273557a25bbfa.tar.bz2 nvim-treesitter-741260618d30c2cdb8706f8bcea273557a25bbfa.tar.lz nvim-treesitter-741260618d30c2cdb8706f8bcea273557a25bbfa.tar.xz nvim-treesitter-741260618d30c2cdb8706f8bcea273557a25bbfa.tar.zst nvim-treesitter-741260618d30c2cdb8706f8bcea273557a25bbfa.zip | |
highlights(query): prefer lua-match
| -rw-r--r-- | queries/query/highlights.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/queries/query/highlights.scm b/queries/query/highlights.scm index 8d7ab6f77..f2d2ef6c7 100644 --- a/queries/query/highlights.scm +++ b/queries/query/highlights.scm @@ -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")) |
