diff --git a/vimrc.functions.vim b/vimrc.functions.vim index 6bb6c88..5bf4e4c 100644 --- a/vimrc.functions.vim +++ b/vimrc.functions.vim @@ -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] !== '-'