mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 11:50:09 -04:00
feat: add Cairo
This commit is contained in:
parent
ec7db4ba3f
commit
f45ea99454
7 changed files with 496 additions and 0 deletions
31
queries/cairo/folds.scm
Normal file
31
queries/cairo/folds.scm
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
[
|
||||
(mod_item)
|
||||
(struct_item)
|
||||
(trait_item)
|
||||
(enum_item)
|
||||
(impl_item)
|
||||
(type_item)
|
||||
|
||||
(use_declaration)
|
||||
(let_declaration)
|
||||
(namespace_definition)
|
||||
|
||||
(arguments)
|
||||
(implicit_arguments)
|
||||
(tuple_type)
|
||||
|
||||
(import_statement)
|
||||
(attribute_statement)
|
||||
(with_statement)
|
||||
(if_statement)
|
||||
|
||||
(function_definition)
|
||||
(struct_definition)
|
||||
(loop_expression)
|
||||
(if_expression)
|
||||
(match_expression)
|
||||
(call_expression)
|
||||
(tuple_expression)
|
||||
|
||||
(attribute_item)
|
||||
] @fold
|
||||
Loading…
Add table
Add a link
Reference in a new issue