diff options
Diffstat (limited to 'vim/plugin')
-rw-r--r-- | vim/plugin/foldtext.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/plugin/foldtext.vim b/vim/plugin/foldtext.vim index f6fad9a..728b822 100644 --- a/vim/plugin/foldtext.vim +++ b/vim/plugin/foldtext.vim @@ -9,7 +9,7 @@ function Foldtext_base(...) " }}} " remove the marker that caused this fold from the display {{{ let foldmarkers = split(&foldmarker, ',') - let line = substitute(line, '\V' . foldmarkers[0], ' ', '') + let line = substitute(line, '\V' . foldmarkers[0] . '\%(\d\+\)\?', ' ', '') " }}} " remove comments that vim knows about {{{ let comment = split(&commentstring, '%s') |