Add function parameter text objects

This commit is contained in:
Bruno BELANYI 2022-06-04 10:37:59 +02:00
parent 221904815a
commit c31f249d4a

View file

@ -1,7 +1,9 @@
; Functions {{{
(function_declaration
parameters: ((_) @parameter.inner)* @parameter.outer
body: (_) @function.inner) @function.outer
(primitive_declaration) @function.outer
(primitive_declaration
parameters: ((_) @parameter.inner)* @parameter.outer) @function.outer
(function_call
arguments: ((_) @call.inner)*) @call.outer