aboutsummaryrefslogtreecommitdiffstats
path: root/queries
diff options
context:
space:
mode:
Diffstat (limited to 'queries')
-rw-r--r--queries/v/highlights.scm7
-rw-r--r--queries/v/indents.scm5
-rw-r--r--queries/v/injections.scm5
3 files changed, 13 insertions, 4 deletions
diff --git a/queries/v/highlights.scm b/queries/v/highlights.scm
index 4e72a0514..484f7fe59 100644
--- a/queries/v/highlights.scm
+++ b/queries/v/highlights.scm
@@ -280,10 +280,13 @@
(none) @variable.builtin
; Comments
-(comment) @comment @spell
+[
+ (line_comment)
+ (block_comment)
+] @comment @spell
(_
- (comment)+ @comment.documentation
+ (line_comment)+ @comment.documentation
[
(function_declaration)
(type_declaration)
diff --git a/queries/v/indents.scm b/queries/v/indents.scm
index 752585127..bf090efae 100644
--- a/queries/v/indents.scm
+++ b/queries/v/indents.scm
@@ -14,4 +14,7 @@
(parameter_list
")" @indent.branch)
-(comment) @indent.ignore
+[
+ (line_comment)
+ (block_comment)
+] @indent.ignore
diff --git a/queries/v/injections.scm b/queries/v/injections.scm
index f27ab8954..2d7618b3e