nvim-treesitter/queries/ron/locals.scm

13 lines
363 B
Scheme
Raw Normal View History

(source_file) @local.scope
(source_file (array) @local.scope)
(source_file (map) @local.scope)
(source_file (struct) @local.scope)
(source_file (tuple) @local.scope)
2023-02-04 15:42:12 -05:00
(identifier) @local.reference
2023-02-04 15:42:12 -05:00
(struct_entry (identifier) @local.definition.field)
(struct_entry (identifier) @local.definition.enum (enum_variant))
2023-02-04 15:42:12 -05:00
(struct (struct_name) @local.definition.type)