mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 11:20:07 -04:00
feat: add RON
This commit is contained in:
parent
70af55b428
commit
720f75f988
8 changed files with 100 additions and 2 deletions
12
queries/ron/locals.scm
Normal file
12
queries/ron/locals.scm
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
(source_file) @scope
|
||||
(source_file (array) @scope)
|
||||
(source_file (map) @scope)
|
||||
(source_file (struct) @scope)
|
||||
(source_file (tuple) @scope)
|
||||
|
||||
(identifier) @reference
|
||||
|
||||
(struct_entry (identifier) @definition.field)
|
||||
(struct_entry (identifier) @definition.enum (enum_variant))
|
||||
|
||||
(struct (struct_name) @definition.type)
|
||||
Loading…
Add table
Add a link
Reference in a new issue