change: allow one or more leading ;

This commit is contained in:
numToStr 2022-08-21 14:07:53 +05:30 committed by Stephan Seitz
parent 383d152783
commit 2f671dfa36

View file

@ -17,6 +17,6 @@
(#eq? @_vimcmd_identifier "vim.treesitter.query.set_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