mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-21 04:40:08 -04:00
feat(elsa): improve queries
This commit is contained in:
parent
8b444f9997
commit
2277c0c2a7
4 changed files with 20 additions and 0 deletions
12
queries/elsa/locals.scm
Normal file
12
queries/elsa/locals.scm
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
[
|
||||
(source_file)
|
||||
(reduction)
|
||||
] @scope
|
||||
|
||||
(identifier) @reference
|
||||
|
||||
(function) @definition.function
|
||||
|
||||
(method) @definition.method
|
||||
|
||||
(parameter) @definition.parameter
|
||||
Loading…
Add table
Add a link
Reference in a new issue