SoloVim/queries/markdown/folds.scm
Kristofers Solo e0f12a9ce3 Update 2025-02-28
Update 2025-02-14

Update 2025-02-16

Update 2025-02-21

Update 2025-02-23

Update 2025-02-25

Update 2025-02-27

Update 2025-02-28
2025-04-16 13:42:48 +03:00

10 lines
211 B
Scheme

; Folds a section of the document
; that starts with a heading.
((section
(atx_heading)) @fold
(#trim! @fold))
; (#trim!) is used to prevent empty
; lines at the end of the section
; from being folded.