summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vimrc b/vimrc
index efc3550..22d65e5 100644
--- a/vimrc
+++ b/vimrc
@@ -294,7 +294,7 @@ function Base_foldtext(...)
" remove the marker that caused this fold from the display
let foldmarkers = split(&foldmarker, ',')
- let line = substitute(line, '\V\s\?' . foldmarkers[0] . '\s\?', ' ', '')
+ let line = substitute(line, '\V' . foldmarkers[0], ' ', '')
" remove comments that we know about
let comment = split(&commentstring, '%s')