From: Iain Patterson Date: Fri, 7 Aug 2009 18:22:17 +0000 (+0100) Subject: Grow a column when setting full list mode. X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;h=46bbc452f2992d7631eaf98c1c80f10cd883ce08;p=profile.git Grow a column when setting full list mode. Allow room for when listchars includes eol. --- diff --git a/.vimrc b/.vimrc index f163e3d..6ee4114 100644 --- 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