From ce87f94d9707fc6f116119fcb20e8bfea7c3cb32 Mon Sep 17 00:00:00 2001 From: ManjaroOne666 Date: Thu, 10 May 2018 15:02:43 +0100 Subject: [PATCH] improved MyFoldText() substitution pattern --- vimrc.functions.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vimrc.functions.vim b/vimrc.functions.vim index b4684e1..89e3cb9 100644 --- a/vimrc.functions.vim +++ b/vimrc.functions.vim @@ -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