mirror of https://github.com/helix-editor/helix
Update tree-sitter-v, fix breaking changes
parent
bfbc06ca78
commit
01299ca680
|
@ -2406,7 +2406,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 = "12ed90d735051ad961c54c4f0ec126354db4f966"}
|
source = {git = "https://github.com/vlang/v-analyzer", subpath = "tree_sitter_v", rev = "59a8889d84a293d7c0366d14c8dbb0eec24fe889"}
|
||||||
|
|
||||||
[[language]]
|
[[language]]
|
||||||
name = "verilog"
|
name = "verilog"
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue