mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
fix(query): allow multiline modeline (inherits/extends)
This commit is contained in:
parent
1aea2eee29
commit
865483f8d1
1 changed files with 2 additions and 2 deletions
|
|
@ -27,8 +27,8 @@
|
|||
((parameters (identifier) @number)
|
||||
(#match? @number "^[-+]?[0-9]+(.[0-9]+)?$"))
|
||||
|
||||
((program . (comment) @include)
|
||||
((program . (comment)* . (comment) @include)
|
||||
(#match? @include "^;\ +inherits\ *:"))
|
||||
|
||||
((program . (comment) @preproc)
|
||||
((program . (comment)* . (comment) @preproc)
|
||||
(#match? @preproc "^; +extends"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue