mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-09 15:00:04 -04:00
change: allow one or more leading ;
This commit is contained in:
parent
383d152783
commit
2f671dfa36
1 changed files with 1 additions and 1 deletions
|
|
@ -17,6 +17,6 @@
|
||||||
(#eq? @_vimcmd_identifier "vim.treesitter.query.set_query"))
|
(#eq? @_vimcmd_identifier "vim.treesitter.query.set_query"))
|
||||||
|
|
||||||
;; highlight string as query if starts with `;; query`
|
;; highlight string as query if starts with `;; query`
|
||||||
((string ("string_content") @query) (#lua-match? @query "^%s*;;%s?query"))
|
((string ("string_content") @query) (#lua-match? @query "^%s*;+%s?query"))
|
||||||
|
|
||||||
(comment) @comment
|
(comment) @comment
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue