mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 10:50:06 -04:00
locals(lua): capture function definition params
This commit is contained in:
parent
bae85e6bcc
commit
afbb244095
1 changed files with 2 additions and 0 deletions
|
|
@ -12,6 +12,8 @@
|
||||||
(parameters (identifier) @definition.var)))
|
(parameters (identifier) @definition.var)))
|
||||||
((function
|
((function
|
||||||
(parameters (identifier) @definition.var)))
|
(parameters (identifier) @definition.var)))
|
||||||
|
((function_definition
|
||||||
|
(parameters (identifier) @definition.var)))
|
||||||
|
|
||||||
;; Loops
|
;; Loops
|
||||||
((loop_expression
|
((loop_expression
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue