From: Simon Ruderich Date: Thu, 5 Apr 2012 00:21:50 +0000 (+0200) Subject: vimrc: Ignore errors when pathogen is missing. X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=commitdiff_plain;h=79dae4c15149a6629cf5ce21cccb6725c6a574f9 vimrc: Ignore errors when pathogen is missing. --- diff --git a/vimrc b/vimrc index 7bf163f..7716d8c 100644 --- a/vimrc +++ b/vimrc @@ -572,9 +572,9 @@ endif if has('eval') " Use pathogen which allows one 'runtimepath' entry per plugin. This makes " installing/removing/updating plugins simple. (Used for plugins with more -" than one file.) +" than one file.) Ignore errors in case pathogen is not installed. if v:version >= 700 - execute 'call pathogen#runtime_append_all_bundles()' + silent! execute 'call pathogen#runtime_append_all_bundles()' endif " Settings for the NERD commenter.