mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 03:10:04 -04:00
chore: query formatting
This commit is contained in:
parent
79975d6557
commit
57a8acf0c4
674 changed files with 18466 additions and 12648 deletions
|
|
@ -1,17 +1,28 @@
|
|||
(parenthesis) @local.scope
|
||||
|
||||
(anonymous_function) @local.scope
|
||||
|
||||
(object) @local.scope
|
||||
|
||||
(field) @local.scope
|
||||
|
||||
(local_bind) @local.scope
|
||||
|
||||
(field
|
||||
function: (fieldname (id) @local.definition.function)
|
||||
function:
|
||||
(fieldname
|
||||
(id) @local.definition.function)
|
||||
(#set! "definition.function.scope" "parent"))
|
||||
|
||||
(bind (id) @local.definition.var)
|
||||
(bind function: (id) @local.definition.function)
|
||||
(bind
|
||||
(id) @local.definition.var)
|
||||
|
||||
(param (id) @local.definition.parameter)
|
||||
(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