]> oss.titaniummirror.com Git - smckown/dotfiles.git/commitdiff
pathogen#infect(): don't list default parameter
authorR. Steve McKown <rsmckown@gmail.com>
Mon, 8 Jun 2015 20:26:31 +0000 (14:26 -0600)
committerR. Steve McKown <rsmckown@gmail.com>
Mon, 8 Jun 2015 20:26:31 +0000 (14:26 -0600)
'bundle/{}' is the default, so there is no need to list it.  When
migrating the vim configuration into the dotfiles repository, I at one
point encountered errors when using pathogen#infect() without an
argument, where listing the default argument worked.  I didn't at that
time investigate the problem, which appears to be no problem.

vimrc

diff --git a/vimrc b/vimrc
index cb58ffc8f85be56b864f312b5570dc28adaee85e..68d687ef6d73e46999cac6e705f640799e3e4b52 100644 (file)
--- a/vimrc
+++ b/vimrc
@@ -15,7 +15,7 @@ set t_Co=256
 " All addons managed via pathogen
 filetype off
 runtime bundle/vim-pathogen/autoload/pathogen.vim
-call pathogen#infect('bundle/{}')
+call pathogen#infect()
 call pathogen#helptags()
 
 " This .vimrc depends upon the sensible plugin for proper operation.