Older versions of vim didn't understand +=.
authorIain Patterson <me@iain.cx>
Wed, 4 Jan 2006 15:57:16 +0000 (15:57 +0000)
committerIain Patterson <me@iain.cx>
Wed, 4 Jan 2006 15:57:16 +0000 (15:57 +0000)
git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@17 6be0d1a5-5cfe-0310-89b6-964be062b18b

.vimrc

diff --git a/.vimrc b/.vimrc
index ebcb541..a0b8127 100755 (executable)
--- 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