git://git.iain.cx/iain
/
profile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a01cb85
)
Grow a column when setting full list mode.
author
Iain Patterson
<me@iain.cx>
Fri, 7 Aug 2009 18:22:17 +0000
(19:22 +0100)
committer
Iain Patterson
<me@iain.cx>
Sun, 9 Aug 2009 10:27:26 +0000
(11:27 +0100)
Allow room for when listchars includes eol.
.vimrc
patch
|
blob
|
history
diff --git
a/.vimrc
b/.vimrc
index
f163e3d
..
6ee4114
100644
(file)
--- a/
.vimrc
+++ b/
.vimrc
@@
-778,6
+778,7
@@
fun! Cycle_List()
call Iain_Vars()
let b:iainlist = b:iainlist + 1
if b:iainlist > 2
+ call Resize_Columns("-", 1)
let b:iainlist = 0
endif
if b:iainlist == 0
@@
-786,6
+787,7
@@
fun! Cycle_List()
exec "set lcs=" . basic
set list
else
+ call Resize_Columns("+", 1)
exec "set lcs=" . basic . "," . eol
set list
endif