mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
Add definition.parameter query to 'r/locals.scm'.
This commit is contained in:
parent
702114270b
commit
51c7e9d785
1 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
(function_definition) @scope
|
||||
|
||||
(formal_parameters (identifier) @definition)
|
||||
(formal_parameters (identifier) @definition.parameter)
|
||||
|
||||
(left_assignment name: (identifier) @definition)
|
||||
(equals_assignment name: (identifier) @definition)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue