mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-20 04:10:06 -04:00
feat: add Hare
This commit is contained in:
parent
98d63d0da4
commit
207a86e4c9
8 changed files with 379 additions and 0 deletions
21
queries/hare/folds.scm
Normal file
21
queries/hare/folds.scm
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
[
|
||||
(imports)
|
||||
|
||||
(function_declaration)
|
||||
(enum_type)
|
||||
(struct_type)
|
||||
(tuple_type)
|
||||
(union_type)
|
||||
|
||||
(block)
|
||||
(if_statement)
|
||||
(for_statement)
|
||||
(call_expression)
|
||||
(switch_expression)
|
||||
(match_expression)
|
||||
(case)
|
||||
|
||||
(array_literal)
|
||||
(struct_literal)
|
||||
(tuple_literal)
|
||||
] @fold
|
||||
Loading…
Add table
Add a link
Reference in a new issue