mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
allow no spaces for extend/inherit comments
This commit is contained in:
parent
0058058386
commit
58da7fe93e
1 changed files with 2 additions and 2 deletions
|
|
@ -28,7 +28,7 @@
|
|||
(#match? @number "^[-+]?[0-9]+(.[0-9]+)?$"))
|
||||
|
||||
((program . (comment)* . (comment) @include)
|
||||
(#match? @include "^;+ +inherits *:"))
|
||||
(#match? @include "^;+ *inherits *:"))
|
||||
|
||||
((program . (comment)* . (comment) @preproc)
|
||||
(#match? @preproc "^;+ +extends"))
|
||||
(#match? @preproc "^;+ *extends"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue