check if relativenumber option available

- blows up otherwise for default vim on SnowLeo
This commit is contained in:
gmarik 2011-08-05 09:41:59 -05:00
parent ed0610c916
commit d09841e4a6

View File

@ -27,8 +27,9 @@ func! vundle#scripts#complete(a,c,d)
endf
func! vundle#scripts#setup_view() abort
setl cursorline norelativenumber nonu
setl cursorline nonu
setl ro noma ignorecase syntax=vim
if (exists('&relativenumber')) | setl norelativenumber | endif
syn keyword vimCommand Bundle