From: Iain Patterson Date: Wed, 4 Jan 2006 15:57:16 +0000 (+0000) Subject: Older versions of vim didn't understand +=. X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;h=36648d0beffd07bcc1adb13dcdf8f423822bca4c;p=profile.git Older versions of vim didn't understand +=. git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@17 6be0d1a5-5cfe-0310-89b6-964be062b18b --- diff --git a/.vimrc b/.vimrc index ebcb541..a0b8127 100755 --- a/.vimrc +++ b/.vimrc @@ -33,7 +33,7 @@ endfun fun Cycle_List() call Iain_Vars() - let b:iainlist += 1 + let b:iainlist = b:iainlist + 1 if b:iainlist > 2 | let b:iainlist = 0 | endif if b:iainlist == 0 set nolist