aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/v/textobjects.scm
diff options
context:
space:
mode:
authorlydiandy2023-07-30 23:04:55 +0000
committerGitHub2023-07-30 23:04:55 +0000
commit57952c46a4f3bf75d0b9940c2c42399980416523 (patch)
tree47230d1bcd54ae06d75925317db07d2b4fd1067d /runtime/queries/v/textobjects.scm
parentd5571968faf498f2bf12e18835755377d22e13a4 (diff)
replace new lsp for vlang (#7760)
* 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>
Diffstat (limited to 'runtime/queries/v/textobjects.scm')
-rw-r--r--runtime/queries/v/textobjects.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/queries/v/textobjects.scm b/runtime/queries/v/textobjects.scm
index 40eb101f..5015af17 100644
--- a/runtime/queries/v/textobjects.scm
+++ b/runtime/queries/v/textobjects.scm
@@ -6,7 +6,7 @@
body: (block)? @test.inside) @test.around
(#match? @_name "^test"))
-(fn_literal
+(function_literal
body: (block)? @function.inside) @function.around
(parameter_list
@@ -17,9 +17,9 @@
((_) @parameter.inside) @parameter.around))
(struct_declaration
- (struct_field_declaration_list) @class.inside) @class.around
+ (struct_field_declaration) @class.inside) @class.around
-(struct_field_declaration_list
+(struct_field_declaration
((_) @parameter.inside) @parameter.around)
(comment) @comment.inside