Update tree-sitter-v (#13469)

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
pull/13491/head
Sean Russell 2025-05-07 17:38:07 -05:00 committed by GitHub
parent e53462c78c
commit 51d3b15557
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 8 additions and 8 deletions

View File

@ -2407,7 +2407,7 @@ indent = { tab-width = 4, unit = "\t" }
[[grammar]] [[grammar]]
name = "v" 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]] [[language]]
name = "verilog" name = "verilog"

View File

@ -1,4 +1,4 @@
(comment) @comment [(line_comment) (block_comment)] @comment
(module_clause (module_clause
(identifier) @namespace) (identifier) @namespace)
@ -84,9 +84,9 @@
] @string ] @string
(string_interpolation (string_interpolation
(braced_interpolation_opening) @punctuation.bracket (interpolation_opening) @punctuation.bracket
(interpolated_expression) @embedded (interpolation_expression) @embedded
(braced_interpolation_closing) @punctuation.bracket) (interpolation_closing) @punctuation.bracket)
(attribute) @attribute (attribute) @attribute

View File

@ -1,4 +1,4 @@
((comment) @injection.content ([(line_comment) (block_comment)] @injection.content
(#set! injection.language "comment")) (#set! injection.language "comment"))
((sql_expression) @injection.content ((sql_expression) @injection.content

View File

@ -22,6 +22,6 @@
(struct_field_declaration (struct_field_declaration
((_) @parameter.inside) @parameter.around) ((_) @parameter.inside) @parameter.around)
(comment) @comment.inside [(line_comment) (block_comment)] @comment.inside
(comment)+ @comment.around [(line_comment)+ (block_comment)+] @comment.around