aboutsummaryrefslogtreecommitdiff
path: root/queries
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-09-14 18:30:12 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-09-14 18:30:12 +0200
commit291cb06fc2d578ac19c01ebda9b71f94733af0e8 (patch)
tree42de2f30f49d1bf86239074abfa9578d560c7e1e /queries
parent3a3ed761881ac220b517c30e1e4596ecead4f354 (diff)
Fix comment queries for Neovim
Diffstat (limited to 'queries')
-rw-r--r--queries/gsp/highlights.scm2
1 files changed, 2 insertions, 0 deletions
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))