From 4b160d1b2119cd2007ea7a76d4baba56ad66b825 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Thu, 18 Apr 2024 11:07:53 +0200 Subject: Support comments… sorta MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- queries/gsp/highlights.scm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'queries') diff --git a/queries/gsp/highlights.scm b/queries/gsp/highlights.scm index ba33621..17e1134 100644 --- a/queries/gsp/highlights.scm +++ b/queries/gsp/highlights.scm @@ -1,5 +1,7 @@ [">" "-" "=" "@"] @operator ["{" "}"] @tag.delimiter +((node (node_name @_name) (_)) + (#eq? @_name "/")) @comment (node_name) @tag [ (attribute_name) -- cgit v1.2.3