1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 07:00:04 +08:00

fix(opt): check belloff opt

belloff require vim 7.4.793

close https://github.com/SpaceVim/SpaceVim/issues/4930
This commit is contained in:
Eric Wong 2024-08-03 18:36:59 +08:00
parent 52c637430e
commit b808b8126a

View File

@ -140,8 +140,10 @@ function! SpaceVim#default#options() abort
" Do not wrap lone lines
set nowrap
" disable all bell
set belloff=all
if exists('&belloff')
" disable all bell
set belloff=all
endif
set foldtext=SpaceVim#default#Customfoldtext()