improved MyFoldText() substitution pattern
This commit is contained in:
parent
cfae3997f1
commit
ce87f94d97
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue