treesitter: Add textobjects for native funcs and constructors (#9806)

This allows native functions and constructors to be accessible as part
of goto_{next,prev}_func.

Change-Id: Ia1234004e8b38e1c5871331a38fcf4f267da935e
pull/9851/head
Kalpaj Chaudhari 9 months ago committed by GitHub
parent 3bd493299f
commit c145999bff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1,4 +1,7 @@
(method_declaration
body: (_)? @function.inside) @function.around
(constructor_declaration
body: (_) @function.inside) @function.around
(interface_declaration

Loading…
Cancel
Save