Add function parameter text objects
This commit is contained in:
parent
221904815a
commit
c31f249d4a
|
@ -1,7 +1,9 @@
|
||||||
; Functions {{{
|
; Functions {{{
|
||||||
(function_declaration
|
(function_declaration
|
||||||
|
parameters: ((_) @parameter.inner)* @parameter.outer
|
||||||
body: (_) @function.inner) @function.outer
|
body: (_) @function.inner) @function.outer
|
||||||
(primitive_declaration) @function.outer
|
(primitive_declaration
|
||||||
|
parameters: ((_) @parameter.inner)* @parameter.outer) @function.outer
|
||||||
|
|
||||||
(function_call
|
(function_call
|
||||||
arguments: ((_) @call.inner)*) @call.outer
|
arguments: ((_) @call.inner)*) @call.outer
|
||||||
|
|
Loading…
Reference in a new issue