mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 11:36:54 -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)))
|
||||
((function
|
||||
(parameters (identifier) @definition.var)))
|
||||
((function_definition
|
||||
(parameters (identifier) @definition.var)))
|
||||
|
||||
;; Loops
|
||||
((loop_expression
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue