feat: add yuck

This commit is contained in:
Philipp Mildenberger 2023-02-20 17:55:06 +01:00 committed by Amaan Qureshi
parent 04b87c7b6e
commit b9a7591b6c
8 changed files with 278 additions and 0 deletions

21
queries/yuck/locals.scm Normal file
View 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)