summaryrefslogtreecommitdiffstats
path: root/vimrc
diff options
context:
space:
mode:
authorjluehrs2 <jluehrs2@uiuc.edu>2008-04-20 22:24:43 -0500
committerjluehrs2 <jluehrs2@uiuc.edu>2008-04-20 22:24:43 -0500
commit9cd48f6cd155ebfb461293dd6709dd423cb39826 (patch)
treea5cec53336c5d0dd6ab63f82d322bf1e1c058ccc /vimrc
parentbc2932b70cdcb1b89c9c1c1dec3a97ac37e77e6d (diff)
downloadconf-9cd48f6cd155ebfb461293dd6709dd423cb39826.tar.gz
conf-9cd48f6cd155ebfb461293dd6709dd423cb39826.zip
checking for surrounding whitespace isn't necessary, since we strip the front and back afterwards
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vimrc b/vimrc
index 6f84790..4358ab3 100644
--- a/vimrc
+++ b/vimrc
@@ -328,7 +328,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')