From 3ad26668292e8baa8ec16f242470f90b22baffba Mon Sep 17 00:00:00 2001 From: Tony Duckles Date: Mon, 31 Dec 2012 09:33:23 -0600 Subject: [PATCH] .vimrc: Ignore errors during Pathogen init Some of the internal hosts have older versions of VIM, e.g. 6.3 or 6.4, which don't support Pathogen. Suppress any errors doing the Pathogen initialization to avoid annoying messages when using VIM on those hosts. --- .vimrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.vimrc b/.vimrc index e11afd7..5b6e8fc 100644 --- a/.vimrc +++ b/.vimrc @@ -15,8 +15,8 @@ set autoread " reload files (no local changes only) " Pathogen Init (Bundles) " --------------------------------------------------------------------------- filetype off -call pathogen#infect() -call pathogen#helptags() +silent! call pathogen#infect() +silent! call pathogen#helptags() filetype plugin indent on " enable plugins, detection and indenting in one step " --------------------------------------------------------------------------- -- 2.45.2