diff options
| author | nvim-treesitter-bot[bot] <157957100+nvim-treesitter-bot[bot]@users.noreply.github.com> | 2024-03-30 06:35:04 +0000 |
|---|---|---|
| committer | nvim-treesitter-bot[bot] <157957100+nvim-treesitter-bot[bot]@users.noreply.github.com> | 2024-03-30 11:16:35 +0000 |
| commit | 5127a844073d56df9ee4e64ccfc17ecc294e38b5 (patch) | |
| tree | 4898eb1078ab935083c545358663288bb0fd8ae9 /queries/v | |
| parent | fix(python): add staticmethod to builtin decorators (diff) | |
| download | nvim-treesitter-5127a844073d56df9ee4e64ccfc17ecc294e38b5.tar nvim-treesitter-5127a844073d56df9ee4e64ccfc17ecc294e38b5.tar.gz nvim-treesitter-5127a844073d56df9ee4e64ccfc17ecc294e38b5.tar.bz2 nvim-treesitter-5127a844073d56df9ee4e64ccfc17ecc294e38b5.tar.lz nvim-treesitter-5127a844073d56df9ee4e64ccfc17ecc294e38b5.tar.xz nvim-treesitter-5127a844073d56df9ee4e64ccfc17ecc294e38b5.tar.zst nvim-treesitter-5127a844073d56df9ee4e64ccfc17ecc294e38b5.zip | |
bot(lockfile): update beancount, liquid, ocaml, ocaml_interface, v, vento, wing
Diffstat (limited to 'queries/v')
| -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 100644 --- a/queries/v/injections.scm +++ b/queries/v/injections.scm @@ -1,4 +1,7 @@ -((comment) @injection.content +([ + (line_comment) + (block_comment) +] @injection.content (#set! injection.language "comment")) ; asm_statement if asm ever highlighted :) |
