Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/v/textobjects.scm')
| -rw-r--r-- | runtime/queries/v/textobjects.scm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/runtime/queries/v/textobjects.scm b/runtime/queries/v/textobjects.scm index c2f5ecef..40eb101f 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")) -(function_literal +(fn_literal body: (block)? @function.inside) @function.around (parameter_list @@ -17,11 +17,11 @@ ((_) @parameter.inside) @parameter.around)) (struct_declaration - (struct_field_declaration) @class.inside) @class.around + (struct_field_declaration_list) @class.inside) @class.around -(struct_field_declaration +(struct_field_declaration_list ((_) @parameter.inside) @parameter.around) -[(line_comment) (block_comment)] @comment.inside -[(line_comment)+ (block_comment)+] @comment.around +(comment) @comment.inside +(comment)+ @comment.around |