Mercurial > forks > helix
changeset 6768:6f4096734f5b
Update tree-sitter-v (#13469)
Co-authored-by: Michael Davis <[email protected]>
author | Sean Russell <60757196+xxxserxxx@users.noreply.github.com> |
---|---|
date | Wed, 07 May 2025 17:38:07 -0500 |
parents | 2201a9720983 |
children | 744f9134531f |
files | languages.toml runtime/queries/v/highlights.scm runtime/queries/v/injections.scm runtime/queries/v/textobjects.scm |
diffstat | 4 files changed, 8 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/languages.toml Tue May 06 15:24:14 2025 +0200 +++ b/languages.toml Wed May 07 17:38:07 2025 -0500 @@ -2407,7 +2407,7 @@ [[grammar]] name = "v" -source = {git = "https://github.com/vlang/v-analyzer", subpath = "tree_sitter_v", rev = "e14fdf6e661b10edccc744102e4ccf0b187aa8ad"} +source = {git = "https://github.com/vlang/v-analyzer", subpath = "tree_sitter_v", rev = "59a8889d84a293d7c0366d14c8dbb0eec24fe889"} [[language]] name = "verilog"
--- a/runtime/queries/v/highlights.scm Tue May 06 15:24:14 2025 +0200 +++ b/runtime/queries/v/highlights.scm Wed May 07 17:38:07 2025 -0500 @@ -1,4 +1,4 @@ -(comment) @comment +[(line_comment) (block_comment)] @comment (module_clause (identifier) @namespace) @@ -84,9 +84,9 @@ ] @string (string_interpolation - (braced_interpolation_opening) @punctuation.bracket - (interpolated_expression) @embedded - (braced_interpolation_closing) @punctuation.bracket) + (interpolation_opening) @punctuation.bracket + (interpolation_expression) @embedded + (interpolation_closing) @punctuation.bracket) (attribute) @attribute
--- a/runtime/queries/v/injections.scm Tue May 06 15:24:14 2025 +0200 +++ b/runtime/queries/v/injections.scm Wed May 07 17:38:07 2025 -0500 @@ -1,4 +1,4 @@ -((comment) @injection.content +([(line_comment) (block_comment)] @injection.content (#set! injection.language "comment")) ((sql_expression) @injection.content
--- a/runtime/queries/v/textobjects.scm Tue May 06 15:24:14 2025 +0200 +++ b/runtime/queries/v/textobjects.scm Wed May 07 17:38:07 2025 -0500 @@ -22,6 +22,6 @@ (struct_field_declaration ((_) @parameter.inside) @parameter.around) -(comment) @comment.inside -(comment)+ @comment.around +[(line_comment) (block_comment)] @comment.inside +[(line_comment)+ (block_comment)+] @comment.around