From 5355b4027bb16306d92852892b656c226f7c8632 Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Thu, 22 Feb 2018 10:44:43 +1100 Subject: [PATCH] Only set the 'belloff' option when it exists to avoid a spurious error at launch on older Vims --- config/vim/init.vim | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config/vim/init.vim b/config/vim/init.vim index f9a7b45..2c330aa 100644 --- a/config/vim/init.vim +++ b/config/vim/init.vim @@ -47,7 +47,10 @@ endif inoremap jj nnoremap :Files -set belloff+=ctrlg +if exists('+belloff') + set belloff+=ctrlg +endif + set completeopt+=menuone set linebreak showbreak=↩