mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 19:30:02 -04:00
feat: add Squirrel
This commit is contained in:
parent
ba4bce9bb7
commit
71be7c04d5
8 changed files with 480 additions and 0 deletions
27
queries/squirrel/folds.scm
Normal file
27
queries/squirrel/folds.scm
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
[
|
||||
(class_declaration)
|
||||
(function_declaration)
|
||||
(member_declaration)
|
||||
(enum_declaration)
|
||||
|
||||
(array)
|
||||
(block)
|
||||
(table)
|
||||
(anonymous_function)
|
||||
(parenthesized_expression)
|
||||
|
||||
(string)
|
||||
(verbatim_string)
|
||||
|
||||
(comment)
|
||||
|
||||
(if_statement)
|
||||
(else_statement)
|
||||
(while_statement)
|
||||
(do_while_statement)
|
||||
(switch_statement)
|
||||
(for_statement)
|
||||
(foreach_statement)
|
||||
(try_statement)
|
||||
(catch_statement)
|
||||
] @fold
|
||||
Loading…
Add table
Add a link
Reference in a new issue