summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjluehrs2 <jluehrs2@uiuc.edu>2008-04-20 22:25:06 -0500
committerjluehrs2 <jluehrs2@uiuc.edu>2008-04-20 22:25:06 -0500
commit51e9f84eaf215c1608d3d535e85517e77ea35d20 (patch)
tree1a1f17bf4e49fc2b7d5cd38aa312abe0959bc421
parent8143a1e02da1081bb36e3f50312e9a15e800c25f (diff)
downloadvim-foldtext-51e9f84eaf215c1608d3d535e85517e77ea35d20.tar.gz
vim-foldtext-51e9f84eaf215c1608d3d535e85517e77ea35d20.zip
expand the space for line numbers a bit
-rw-r--r--vimrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/vimrc b/vimrc
index 22d65e5..34808d0 100644
--- a/vimrc
+++ b/vimrc
@@ -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