From 990186b7af387f652053e18b74997f04fd30bb67 Mon Sep 17 00:00:00 2001 From: gryf Date: Mon, 17 Jun 2019 11:36:35 +0200 Subject: [PATCH] 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. --- vimrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vimrc b/vimrc index fe7aa10..2216afb 100644 --- a/vimrc +++ b/vimrc @@ -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