mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-23 01:46:18 +04:00
57952c46a4
* fix vlang grammar fetch and build fail * update highlights.scm for v-analyzer * Update languages.toml Co-authored-by: Michael Davis <mcarsondavis@gmail.com> * Update runtime/queries/v/highlights.scm Co-authored-by: Michael Davis <mcarsondavis@gmail.com> * update scm for new lsp * gen doc lang-support.md --------- Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
28 lines
648 B
Scheme
28 lines
648 B
Scheme
(function_declaration
|
|
body: (block)? @function.inside) @function.around
|
|
|
|
((function_declaration
|
|
name: (identifier) @_name
|
|
body: (block)? @test.inside) @test.around
|
|
(#match? @_name "^test"))
|
|
|
|
(function_literal
|
|
body: (block)? @function.inside) @function.around
|
|
|
|
(parameter_list
|
|
((_) @parameter.inside . ","? @parameter.around) @parameter.around)
|
|
|
|
(call_expression
|
|
(argument_list
|
|
((_) @parameter.inside) @parameter.around))
|
|
|
|
(struct_declaration
|
|
(struct_field_declaration) @class.inside) @class.around
|
|
|
|
(struct_field_declaration
|
|
((_) @parameter.inside) @parameter.around)
|
|
|
|
(comment) @comment.inside
|
|
(comment)+ @comment.around
|
|
|