aboutsummaryrefslogtreecommitdiffstats
path: root/queries/query
diff options
context:
space:
mode:
authorEmilia Simmons <emilia.milisims@gmail.com>2023-05-18 12:05:02 -0400
committerAmaan Qureshi <amaanq12@gmail.com>2023-05-18 20:01:00 -0400
commit58da7fe93ea617b1dc85d5e728b4cc78582cd536 (patch)
treeb15ec6fe393fc9905c2cb42e917c7d1839632f7b /queries/query
parentadd multiple ; for highlighting (diff)
downloadnvim-treesitter-58da7fe93ea617b1dc85d5e728b4cc78582cd536.tar
nvim-treesitter-58da7fe93ea617b1dc85d5e728b4cc78582cd536.tar.gz
nvim-treesitter-58da7fe93ea617b1dc85d5e728b4cc78582cd536.tar.bz2
nvim-treesitter-58da7fe93ea617b1dc85d5e728b4cc78582cd536.tar.lz
nvim-treesitter-58da7fe93ea617b1dc85d5e728b4cc78582cd536.tar.xz
nvim-treesitter-58da7fe93ea617b1dc85d5e728b4cc78582cd536.tar.zst
nvim-treesitter-58da7fe93ea617b1dc85d5e728b4cc78582cd536.zip
allow no spaces for extend/inherit comments
Diffstat (limited to 'queries/query')
-rw-r--r--queries/query/highlights.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/queries/query/highlights.scm b/queries/query/highlights.scm
index 8865b62d7..8d7ab6f77 100644
--- a/queries/query/highlights.scm
+++ b/queries/query/highlights.scm
@@ -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"))