mirror of
https://github.com/kristoferssolo/SoloVim.git
synced 2025-10-21 20:10:41 +00:00
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
10 lines
211 B
Scheme
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.
|