1
0
mirror of https://github.com/helix-editor/helix synced 2026-03-07 20:46:21 +01:00
helix/runtime/queries/ripple/folds.scm
godalming123 ecdbeca790
Add support for ripple (#14798)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2025-11-30 11:18:14 -06:00

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