Browse Source

check if relativenumber option available

- blows up otherwise for default vim on SnowLeo
pull/73/head
gmarik 15 years ago
parent
commit
d09841e4a6
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      autoload/vundle/scripts.vim

+ 2
- 1
autoload/vundle/scripts.vim View File

@ -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…
Cancel
Save