From 291cb06fc2d578ac19c01ebda9b71f94733af0e8 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sat, 14 Sep 2024 18:30:12 +0200 Subject: Fix comment queries for Neovim --- 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 a15f087..92e61f6 100644 --- a/queries/gsp/highlights.scm +++ b/queries/gsp/highlights.scm @@ -8,3 +8,5 @@ ] @tag.attribute (attribute_value) @string (comment) @comment +([_] @comment + (#has-ancestor? @comment comment)) -- cgit v1.2.3