update MyFoldText formatting

This commit is contained in:
ManjaroOne666 2018-10-14 13:21:10 +01:00
parent b60168ec00
commit 1d4a0906d1
1 changed files with 3 additions and 2 deletions

5
vimrc
View File

@ -559,10 +559,11 @@ function! MyFoldText() "{{{
" don't display vim comment quotation marks
let l:line = substitute(l:line, "\^\"\\s\\?", '', '')
let l:postfix = ' ↓ ' . l:linecount . ' ' . substitute(v:folddashes, '-', '•', 'g')
while strchars(l:postfix) < 11
let l:postfix = l:linecount . ' ' . substitute(v:folddashes, '-', '•', 'g')
while strchars(l:postfix) < 7
let l:postfix = ' ' . l:postfix
endwhile
let l:postfix = '↓ ' . l:postfix
let l:len_line = len(l:line)
let l:len_postfix = strchars(l:postfix)