1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-02 22:20:06 +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 " Do not wrap lone lines
set nowrap set nowrap
" disable all bell if exists('&belloff')
set belloff=all " disable all bell
set belloff=all
endif
set foldtext=SpaceVim#default#Customfoldtext() set foldtext=SpaceVim#default#Customfoldtext()