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,21 +1,21 @@
;; Fusion base
(block) @scope
(block) @local.scope
(namespace_declaration
(alias_namespace) @definition.namespace)
(alias_namespace) @local.definition.namespace)
(property
(path (path_part) @definition.field))
(path (path_part) @local.definition.field))
(type
namespace: (package_name)? @definition.namespace
name: (type_name) @definition.type
namespace: (package_name)? @local.definition.namespace
name: (type_name) @local.definition.type
)
;; Eel Expressions
(eel_arrow_function) @scope
(eel_object) @scope
(eel_arrow_function) @local.scope
(eel_object) @local.scope
(eel_parameter) @definition.parameter
(eel_parameter) @local.definition.parameter
(eel_object_pair
key: (eel_property_name) @definition.field)
key: (eel_property_name) @local.definition.field)