aboutsummaryrefslogtreecommitdiffstats
path: root/queries/v/highlights.scm
diff options
context:
space:
mode:
Diffstat (limited to 'queries/v/highlights.scm')
-rw-r--r--queries/v/highlights.scm7
1 files changed, 5 insertions, 2 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)