commit 449daa855460f9d735ee236e0def8c4d523d6437 parent 15fe88e057a2e533d9848c6b2fc9541ddfa5f55a Author: Alex Balgavy <a.balgavy@gmail.com> Date: Tue, 13 Nov 2018 20:25:07 +0100 belloff is not a standard vim option Diffstat:
M | vim/editor.vimrc | | | 6 | +++++- |
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/vim/editor.vimrc b/vim/editor.vimrc @@ -46,9 +46,13 @@ set foldnestmax=10 " unless callback-hell JS " Show matching brackets set showmatch -set belloff=showmatch " Disable beeping if no match is found set matchtime=2 +" Since belloff isn't always an option +if exists("&belloff") + set belloff=showmatch " Disable beeping if no match is found +endif + " Searching set hlsearch " highlight matches set incsearch " search while typing