diff options
author | jluehrs2 <jluehrs2@uiuc.edu> | 2008-04-20 22:25:06 -0500 |
---|---|---|
committer | jluehrs2 <jluehrs2@uiuc.edu> | 2008-04-20 22:25:06 -0500 |
commit | 51e9f84eaf215c1608d3d535e85517e77ea35d20 (patch) | |
tree | 1a1f17bf4e49fc2b7d5cd38aa312abe0959bc421 | |
parent | 8143a1e02da1081bb36e3f50312e9a15e800c25f (diff) | |
download | vim-foldtext-51e9f84eaf215c1608d3d535e85517e77ea35d20.tar.gz vim-foldtext-51e9f84eaf215c1608d3d535e85517e77ea35d20.zip |
expand the space for line numbers a bit
-rw-r--r-- | vimrc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -309,11 +309,11 @@ function Base_foldtext(...) let line = substitute(line, '^\s*\(.\{-}\)\s*$', '\1', '') " align everything, and pad the end of the display with - - let line = printf('%-' . (63 - v:foldlevel) . 's', line) + let line = printf('%-' . (62 - v:foldlevel) . 's', line) let line = substitute(line, '\%( \)\@<= \%( *$\)\@=', '-', 'g') " format the line count - let nlines = printf('%12s', + let nlines = printf('%13s', \ '(' . (v:foldend - v:foldstart + 1) . ' lines) ') return '+-' . v:folddashes . ' ' . line . nlines |