diff options
author | jluehrs2 <jluehrs2@uiuc.edu> | 2008-04-20 22:24:43 -0500 |
---|---|---|
committer | jluehrs2 <jluehrs2@uiuc.edu> | 2008-04-20 22:24:43 -0500 |
commit | 9cd48f6cd155ebfb461293dd6709dd423cb39826 (patch) | |
tree | a5cec53336c5d0dd6ab63f82d322bf1e1c058ccc /vimrc | |
parent | bc2932b70cdcb1b89c9c1c1dec3a97ac37e77e6d (diff) | |
download | conf-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-- | vimrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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') |