mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-15 09:50:04 -04:00
Query: highlight modeline
Matches the first comment and the beginning from the pattern
52397aaa0d/runtime/lua/vim/treesitter/query.lua (L25)
This commit is contained in:
parent
db0ccfe9ab
commit
2ad1f76b7d
1 changed files with 3 additions and 0 deletions
|
|
@ -18,3 +18,6 @@
|
||||||
"("
|
"("
|
||||||
")"
|
")"
|
||||||
] @punctuation.bracket
|
] @punctuation.bracket
|
||||||
|
|
||||||
|
((program . (comment) @include)
|
||||||
|
(#match? @include "^;\ +inherits\ *:"))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue