feat(locals)!: switch to upstream captures

This commit is contained in:
Christian Clason 2023-07-22 15:29:32 +02:00
parent f197a15b0d
commit 5b90ea2aba
109 changed files with 1341 additions and 1341 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