X-Git-Url: http://git.iain.cx/?p=profile.git;a=blobdiff_plain;f=.vimrc;h=e0a31a94da87be5f898007c5809d0845767cee6c;hp=812f103499a27ec93dcdfd8888f98f9de9434a63;hb=f41ffed16658e78da63012d5d2ff9a65457e6897;hpb=996703df922a6431a9d621a395605f0f31329b5d diff --git a/.vimrc b/.vimrc index 812f103..e0a31a9 100644 --- a/.vimrc +++ b/.vimrc @@ -605,20 +605,14 @@ syn enable " Set colours. if has("gui_running") - try - if has("win32") - se guifont=DejaVu_Sans_Mono:h10:cANSI - else - se guifont=DejaVu\ Sans\ Mono\ 10 - endif - catch - endtry + if has("win32") + silent se guifont=DejaVu_Sans_Mono:h10:cANSI + else + silent se guifont=DejaVu\ Sans\ Mono\ 10 + endif endif if has("gui_running") || &t_Co > 16 - try - colo iain - catch - endtry + silent colo iain endif " Ignore whitespace when diffing.