improved MyFoldText() substitution pattern

This commit is contained in:
ManjaroOne666 2018-05-10 15:02:43 +01:00
parent cfae3997f1
commit ce87f94d97
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ function! MyFoldText()
let l:subexp = '^ \{,' . len(l:prefix) . '}'
let l:foldtext = substitute(l:line, l:subexp, l:prefix, '')
let l:foldtext = substitute(l:foldtext, '"{{{', '', '')
let l:foldtext = substitute(l:foldtext, '"{\{3}', '', '')
return l:foldtext
endfunction