mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 11:20:07 -04:00
fix(query): stricter match for extends directive (#5604)
This commit is contained in:
parent
051ce73fcd
commit
198015cca1
1 changed files with 1 additions and 1 deletions
|
|
@ -31,4 +31,4 @@
|
||||||
(#lua-match? @include "^;+ *inherits *:"))
|
(#lua-match? @include "^;+ *inherits *:"))
|
||||||
|
|
||||||
((program . (comment)* . (comment) @preproc)
|
((program . (comment)* . (comment) @preproc)
|
||||||
(#lua-match? @preproc "^;+ *extends"))
|
(#lua-match? @preproc "^;+ *extends *$"))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue