mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-03 12:06:55 -04:00
The default behavior in which `@scope` captures were folded resulted in toplevel fold for an entire source file, which was mildly irritating.
13 lines
219 B
Scheme
13 lines
219 B
Scheme
[
|
|
(const_declaration)
|
|
(expression_switch_statement)
|
|
(for_statement)
|
|
(func_literal)
|
|
(function_declaration)
|
|
(if_statement)
|
|
(import_declaration)
|
|
(method_declaration)
|
|
(type_declaration)
|
|
(var_declaration)
|
|
] @fold
|
|
|