summary |
log |
commit |
diff |
tree
raw |
patch |
inline | side by side (from parent 1:
1617970)
Show the hidden line count on a distinct Folded summary row. Align it one shiftwidth beyond the retained first line so continuation alignment does not affect its position, and leave the remainder blank.
set foldexpr=0
set foldlevelstart=99
set foldlevel=99
set foldexpr=0
set foldlevelstart=99
set foldlevel=99
+" Indent summaries one level past the retained first line, not a continuation.
+let &foldtext = 'repeat(" ", indent(v:foldstart - 1) + shiftwidth()) . printf("… %d lines …", v:foldend - v:foldstart + 1)'
+set fillchars+=fold:\ " Leave the rest of the summary line blank.
" Interaction and persistence
set mouse=a
" Interaction and persistence
set mouse=a