]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
vimrc: Ignore errors when pathogen is missing.
authorSimon Ruderich <simon@ruderich.org>
Thu, 5 Apr 2012 00:21:50 +0000 (02:21 +0200)
committerSimon Ruderich <simon@ruderich.org>
Thu, 5 Apr 2012 00:21:50 +0000 (02:21 +0200)
vimrc

diff --git a/vimrc b/vimrc
index 7bf163f4bc2ab40f0a110e34f974414c98eee8a3..7716d8c467fe2ba4e7a9695c0a82e67d9d293a2f 100644 (file)
--- 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.