Add textobject queries for vala (#8541)

pull/9329/head
Joey Hain 2 months ago committed by GitHub
parent d99b6177c2
commit 476e6baf8f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -190,7 +190,7 @@
| unison | ✓ | | ✓ | |
| uxntal | ✓ | | | |
| v | ✓ | ✓ | ✓ | `v-analyzer` |
| vala | ✓ | | | `vala-language-server` |
| vala | ✓ | | | `vala-language-server` |
| verilog | ✓ | ✓ | | `svlangserver` |
| vhdl | ✓ | | | `vhdl_ls` |
| vhs | ✓ | | | |

@ -0,0 +1,27 @@
(method_declaration
(block) @function.inside) @function.around
(creation_method_declaration
(block) @function.inside) @function.around
(method_declaration
((parameter) @parameter.inside . ","? @parameter.around) @parameter.around)
[
(class_declaration)
(struct_declaration)
(interface_declaration)
] @class.around
(type_arguments
((_) @parameter.inside . ","? @parameter.around) @parameter.around)
(creation_method_declaration
((parameter) @parameter.inside . ","? @parameter.around) @parameter.around)
(method_call_expression
((argument) @parameter.inside . ","? @parameter.around) @parameter.around)
(comment) @comment.inside
(comment)+ @comment.around
Loading…
Cancel
Save