Add function parameter text objects
This commit is contained in:
parent
221904815a
commit
c31f249d4a
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue