mirror of
https://github.com/helix-editor/helix
synced 2026-03-07 20:46:21 +01:00
27 lines
384 B
Scheme
27 lines
384 B
Scheme
; Folds for code blocks
|
|
[
|
|
(statement_block)
|
|
(component_body)
|
|
(class_body)
|
|
(object)
|
|
(object_pattern)
|
|
(array)
|
|
(array_pattern)
|
|
(switch_body)
|
|
] @fold
|
|
|
|
; Fold multi-line JSX elements
|
|
(jsx_element) @fold
|
|
|
|
; Fold style elements
|
|
(style_element) @fold
|
|
|
|
; Fold server blocks
|
|
(server_block) @fold
|
|
|
|
; Fold comments
|
|
(comment) @fold
|
|
|
|
; Fold template strings
|
|
(template_string) @fold
|