diff --git a/autoload/SpaceVim/default.vim b/autoload/SpaceVim/default.vim index 72d5abcb3..b1a414f6d 100644 --- a/autoload/SpaceVim/default.vim +++ b/autoload/SpaceVim/default.vim @@ -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()