From 1d4a0906d1b063649fd8a28c0c7c862cbe496c6c Mon Sep 17 00:00:00 2001 From: ManjaroOne666 Date: Sun, 14 Oct 2018 13:21:10 +0100 Subject: [PATCH] update MyFoldText formatting --- vimrc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/vimrc b/vimrc index 64b989b..5193e3b 100644 --- a/vimrc +++ b/vimrc @@ -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)