feat(locals)!: switch to upstream captures

This commit is contained in:
Christian Clason 2023-07-22 15:29:32 +02:00
parent 306367a7f4
commit 8fb218dbfd
95 changed files with 1154 additions and 1154 deletions

View file

@ -1,17 +1,17 @@
(parenthesis) @scope
(anonymous_function) @scope
(object) @scope
(field) @scope
(local_bind) @scope
(parenthesis) @local.scope
(anonymous_function) @local.scope
(object) @local.scope
(field) @local.scope
(local_bind) @local.scope
(field
function: (fieldname (id) @definition.function)
function: (fieldname (id) @local.definition.function)
(#set! "definition.function.scope" "parent"))
(bind (id) @definition.var)
(bind function: (id) @definition.function)
(bind (id) @local.definition.var)
(bind function: (id) @local.definition.function)
(param (id) @definition.parameter)
(param (id) @local.definition.parameter)
(id) @reference
(id) @local.reference
;(fieldname (id) (#is-not? local)) ; (#is-not?) not supported yet