only set relativenumber for vim >= 7.3

This commit is contained in:
Martin Grenfell 2011-03-03 12:18:04 +13:00
parent bc0c64ef82
commit 1dd345c56d

View File

@ -2664,7 +2664,9 @@ function! s:initNerdTreeInPlace(dir)
setlocal nu
else
setlocal nonu
setlocal nornu
if v:version >= 703
setlocal nornu
endif
endif
iabc <buffer>
@ -2901,7 +2903,9 @@ function! s:createTreeWin()
setlocal nu
else
setlocal nonu
setlocal nornu
if v:version >= 703
setlocal nornu
endif
endif
iabc <buffer>