Only set the 'belloff' option when it exists to avoid a spurious error at launch on older Vims

This commit is contained in:
Danielle McLean 2018-02-22 10:44:43 +11:00
parent 4d8f7fb72d
commit 5355b4027b
Signed by: 00dani
GPG Key ID: 5A5D2D1AFF12EEC5
1 changed files with 4 additions and 1 deletions

View File

@ -47,7 +47,10 @@ endif
inoremap jj <Esc>
nnoremap <C-t> :Files<CR>
set belloff+=ctrlg
if exists('+belloff')
set belloff+=ctrlg
endif
set completeopt+=menuone
set linebreak showbreak=