The relativenumber option was added in Vim 7.3 not 7.0.
authorIain Patterson <me@iain.cx>
Wed, 4 May 2016 08:59:27 +0000 (09:59 +0100)
committerIain Patterson <me@iain.cx>
Wed, 4 May 2016 08:59:49 +0000 (09:59 +0100)
.vimrc

diff --git a/.vimrc b/.vimrc
index 9906303..b601e41 100644 (file)
--- a/.vimrc
+++ b/.vimrc
@@ -386,7 +386,7 @@ endfun "}}}2
 fun! Number(resize) "{{{2
   call Iain_Vars()
   let &number = ! &number
-  if version >= 700
+  if version >= 703
     let &relativenumber = &number
   endif