From: Iain Patterson Date: Tue, 6 Oct 2009 09:27:26 +0000 (+0100) Subject: Vim 5 parser strangeness. X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;h=19d0f46786b27c544f7a3f4241f0ead99d964db3;p=profile.git Vim 5 parser strangeness. Protect unsupported "silent" command in an exec. This is necessary even though the command is called in a block only executed by Vim 6 or later. --- diff --git a/.vimrc b/.vimrc index 71c5093..21a9d0f 100644 --- a/.vimrc +++ b/.vimrc @@ -607,13 +607,13 @@ syn enable " Set colours. if has("gui_running") if has("win32") - silent se guifont=DejaVu_Sans_Mono:h10:cANSI + exe "silent se guifont=DejaVu_Sans_Mono:h10:cANSI" else - silent se guifont=DejaVu\ Sans\ Mono\ 10 + exe "silent se guifont=DejaVu\\ Sans\\ Mono\\ 10" endif endif if has("gui_running") || &t_Co > 16 - silent colo iain + exe "silent colo iain" endif " Ignore whitespace when diffing.