Simplify fold text
This commit is contained in:
parent
80f6215530
commit
41aa424a57
@ -2,7 +2,7 @@
|
||||
set foldtext=FoldText()
|
||||
function! FoldText()
|
||||
let line = getline(v:foldstart)
|
||||
return line.' '.string(v:foldend - v:foldstart).' line fold '
|
||||
return line.' '.string(v:foldend - v:foldstart + 1).' lines '
|
||||
endfunction
|
||||
|
||||
" Strip trailing whitespace
|
||||
|
Loading…
x
Reference in New Issue
Block a user