From d09841e4a657a7a0d8d01723f4c3d3b262f1b993 Mon Sep 17 00:00:00 2001 From: gmarik Date: Fri, 5 Aug 2011 09:41:59 -0500 Subject: [PATCH] check if relativenumber option available - blows up otherwise for default vim on SnowLeo --- autoload/vundle/scripts.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/autoload/vundle/scripts.vim b/autoload/vundle/scripts.vim index 6f6f896..18aa996 100644 --- a/autoload/vundle/scripts.vim +++ b/autoload/vundle/scripts.vim @@ -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