diff options
Diffstat (limited to 'queries')
| -rw-r--r-- | queries/v/highlights.scm | 7 | ||||
| -rw-r--r-- | queries/v/indents.scm | 5 | ||||
| -rw-r--r-- | queries/v/injections.scm | 5 |
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 |
