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,12 +1,12 @@
(source_file) @scope
(source_file (array) @scope)
(source_file (map) @scope)
(source_file (struct) @scope)
(source_file (tuple) @scope)
(source_file) @local.scope
(source_file (array) @local.scope)
(source_file (map) @local.scope)
(source_file (struct) @local.scope)
(source_file (tuple) @local.scope)
(identifier) @reference
(identifier) @local.reference
(struct_entry (identifier) @definition.field)
(struct_entry (identifier) @definition.enum (enum_variant))
(struct_entry (identifier) @local.definition.field)
(struct_entry (identifier) @local.definition.enum (enum_variant))
(struct (struct_name) @definition.type)
(struct (struct_name) @local.definition.type)