From: Iain Patterson Date: Tue, 12 Aug 2008 21:08:24 +0000 (+0000) Subject: Wrap colourscheme in a try ... catch block. X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;h=fc1fababbed523942492305e847e944757c7dde3;p=profile.git Wrap colourscheme in a try ... catch block. git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@133 6be0d1a5-5cfe-0310-89b6-964be062b18b --- diff --git a/.vimrc b/.vimrc index 91fd6c1..bfb7e9a 100644 --- a/.vimrc +++ b/.vimrc @@ -278,7 +278,10 @@ if has("gui_running") se guifont=DejaVu\ Sans\ Mono\ 10 colo darkblue elseif &t_Co > 16 - colo iain + try + colo iain + catch + endtry endif if has("win32") se guifont=DejaVu_Sans_Mono:h10:cANSI