This commit is contained in:
ManjaroOne666 2018-09-24 18:43:32 +01:00
parent a1c8fd1d75
commit 18635ef9ce
1 changed files with 1 additions and 0 deletions

View File

@ -105,6 +105,7 @@ function! MyFoldText()
let l:len_line = len(l:line)
let l:len_postfix = len(l:postfix)
" TODO use width of window maybe (i fit's less than 80)
if l:len_line + l:len_postfix <= 80
let l:padding = ' ' . ' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -'[l:len_line + l:len_postfix + 4:79]
if l:padding[:-1] !== '-'