mirror of https://github.com/helix-editor/helix
Update tree-sitter-v (#13469)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>pull/13491/head
parent
e53462c78c
commit
51d3b15557
|
@ -2407,7 +2407,7 @@ indent = { tab-width = 4, unit = "\t" }
|
|||
|
||||
[[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"
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
((comment) @injection.content
|
||||
([(line_comment) (block_comment)] @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
|
||||
((sql_expression) @injection.content
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue