mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 10:50:06 -04:00
feat(dart): add folds
This commit is contained in:
parent
fe80f7c2bb
commit
53695580e3
1 changed files with 15 additions and 0 deletions
15
queries/dart/folds.scm
Normal file
15
queries/dart/folds.scm
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
[
|
||||||
|
(class_definition)
|
||||||
|
(enum_declaration)
|
||||||
|
(extension_declaration)
|
||||||
|
|
||||||
|
(arguments)
|
||||||
|
(function_body)
|
||||||
|
|
||||||
|
(block)
|
||||||
|
(switch_block)
|
||||||
|
|
||||||
|
(list_literal)
|
||||||
|
(set_or_map_literal)
|
||||||
|
(string_literal)
|
||||||
|
] @fold
|
||||||
Loading…
Add table
Add a link
Reference in a new issue