mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 20:00:07 -04:00
feat(jq): add locals queries
and highlight function calls
This commit is contained in:
parent
f1fc7c2e76
commit
f9999888eb
2 changed files with 9 additions and 0 deletions
7
queries/jq/locals.scm
Normal file
7
queries/jq/locals.scm
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
(funcdef (identifier) @definition.function)
|
||||
|
||||
(funcdefargs (identifier) @definition.parameter)
|
||||
|
||||
(funcname) @reference
|
||||
|
||||
(index (identifier) @reference)
|
||||
Loading…
Add table
Add a link
Reference in a new issue