check if relativenumber option available
- blows up otherwise for default vim on SnowLeo
This commit is contained in:
parent
ed0610c916
commit
d09841e4a6
@ -27,8 +27,9 @@ func! vundle#scripts#complete(a,c,d)
|
|||||||
endf
|
endf
|
||||||
|
|
||||||
func! vundle#scripts#setup_view() abort
|
func! vundle#scripts#setup_view() abort
|
||||||
setl cursorline norelativenumber nonu
|
setl cursorline nonu
|
||||||
setl ro noma ignorecase syntax=vim
|
setl ro noma ignorecase syntax=vim
|
||||||
|
if (exists('&relativenumber')) | setl norelativenumber | endif
|
||||||
|
|
||||||
syn keyword vimCommand Bundle
|
syn keyword vimCommand Bundle
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user