mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-16 10:20:11 -04:00
feat!: drop modules, general refactor and cleanup
This commit is contained in:
parent
310f0925ec
commit
692b051b09
1247 changed files with 6096 additions and 9074 deletions
27
runtime/queries/jsonnet/locals.scm
Normal file
27
runtime/queries/jsonnet/locals.scm
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
(parenthesis) @local.scope
|
||||
|
||||
(anonymous_function) @local.scope
|
||||
|
||||
(object) @local.scope
|
||||
|
||||
(field) @local.scope
|
||||
|
||||
(local_bind) @local.scope
|
||||
|
||||
(field
|
||||
function: (fieldname
|
||||
(id) @local.definition.function)
|
||||
(#set! definition.function.scope "parent"))
|
||||
|
||||
(bind
|
||||
(id) @local.definition.var)
|
||||
|
||||
(bind
|
||||
function: (id) @local.definition.function)
|
||||
|
||||
(param
|
||||
(id) @local.definition.parameter)
|
||||
|
||||
(id) @local.reference
|
||||
|
||||
;(fieldname (id) (#is-not? local)) ; (#is-not?) not supported yet
|
||||
Loading…
Add table
Add a link
Reference in a new issue