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:
parent
52c637430e
commit
b808b8126a
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user