From 19d0f46786b27c544f7a3f4241f0ead99d964db3 Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Tue, 6 Oct 2009 10:27:26 +0100 Subject: [PATCH] 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. --- .vimrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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. -- 2.7.4