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

View file

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