From b0b27be0ab2747c9e0ce6b1a44cf92e3b32026b2 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Wed, 14 Nov 2018 16:47:23 -0500 Subject: [PATCH] vim: Don't raise an error if wal is not found Since the wal color scheme is not installed until PlugInstall is ran, the colorscheme function will always throw an error that needs manual intervention. This fixes that. --- vim/.vimrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vim/.vimrc b/vim/.vimrc index 48c75f8..019cef2 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -101,7 +101,8 @@ set mouse=a " Enable mouse support in (a)ll modes " ========= colors ========= " ========================== -colorscheme wal +" Set the color scheme to wal, or fail silently if it's not installed +silent! colorscheme wal " Don't show the separator for vertical splits highlight vertsplit ctermfg=0 ctermbg=none