From 46bbc452f2992d7631eaf98c1c80f10cd883ce08 Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Fri, 7 Aug 2009 19:22:17 +0100 Subject: [PATCH] Grow a column when setting full list mode. Allow room for when listchars includes eol. --- .vimrc | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.20.1