mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-20 04:10:06 -04:00
feat: add yuck
This commit is contained in:
parent
04b87c7b6e
commit
b9a7591b6c
8 changed files with 278 additions and 0 deletions
21
queries/yuck/locals.scm
Normal file
21
queries/yuck/locals.scm
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
[
|
||||
(ast_block)
|
||||
(list)
|
||||
(array)
|
||||
(expr)
|
||||
(json_array)
|
||||
(json_object)
|
||||
(parenthesized_expression)
|
||||
] @scope
|
||||
|
||||
(symbol) @reference
|
||||
|
||||
(keyword) @definition.field
|
||||
|
||||
(json_object
|
||||
(simplexpr
|
||||
(ident) @definition.field))
|
||||
|
||||
(ast_block
|
||||
(symbol)
|
||||
(ident) @definition.type)
|
||||
Loading…
Add table
Add a link
Reference in a new issue