Update tree-sitter-v, fix breaking changes

pull/13469/head
Michael Davis 2025-05-07 18:26:16 -04:00
parent bfbc06ca78
commit 01299ca680
No known key found for this signature in database
4 changed files with 8 additions and 8 deletions

View File

@ -2406,7 +2406,7 @@ indent = { tab-width = 4, unit = "\t" }
[[grammar]]
name = "v"
source = {git = "https://github.com/vlang/v-analyzer", subpath = "tree_sitter_v", rev = "12ed90d735051ad961c54c4f0ec126354db4f966"}
source = {git = "https://github.com/vlang/v-analyzer", subpath = "tree_sitter_v", rev = "59a8889d84a293d7c0366d14c8dbb0eec24fe889"}
[[language]]
name = "verilog"

View File

@ -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

View File

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

View File

@ -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