From cf7baac35aa5c103b960bcb3f15c690a4aa5c6f1 Mon Sep 17 00:00:00 2001 From: Turiiya <34311583+ttytm@users.noreply.github.com> Date: Fri, 28 Jun 2024 05:33:06 +0200 Subject: [PATCH] fix(v): anchor comment highlight query * fix(v): use `source_file` as parent node for comment highlight query * fix: correctly recognize doc comment --- queries/v/highlights.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/queries/v/highlights.scm b/queries/v/highlights.scm index d4ea0e298..982f3dbd5 100644 --- a/queries/v/highlights.scm +++ b/queries/v/highlights.scm @@ -292,6 +292,7 @@ (_ (line_comment)+ @comment.documentation + . [ (function_declaration) (type_declaration)