From fc1fababbed523942492305e847e944757c7dde3 Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Tue, 12 Aug 2008 21:08:24 +0000 Subject: [PATCH] Wrap colourscheme in a try ... catch block. git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@133 6be0d1a5-5cfe-0310-89b6-964be062b18b --- .vimrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.7.4