1
0
mirror of https://github.com/gryf/.vim.git synced 2025-12-17 03:20:29 +01:00

Don't complain on missing colorscheme

If we bootstrap from empty repo, vim will complain about missing
colorscheme, since we don't have it yet. Added silent before the
colorscheme command, so that we can do non-disruptive config update.
This commit is contained in:
2019-06-17 11:36:35 +02:00
parent a4ea2ae001
commit 990186b7af

4
vimrc
View File

@@ -724,7 +724,9 @@ if has('gui_running')
"Turn off annoying beep
au GUIEnter * set vb t_vb=
endif
colorscheme wombat256grf
silent! colorscheme wombat256grf
if $TERM == 'linux' && !has('gui_running')
" fallback to basic 8-color colorscheme
colorscheme pablo