From 9e411368e0468b317c4efe557931a86def6f78d0 Mon Sep 17 00:00:00 2001 From: gmarik Date: Tue, 7 Dec 2010 19:54:12 -0600 Subject: [PATCH] Misc fixes --- autoload/vundle.vim | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/autoload/vundle.vim b/autoload/vundle.vim index 0f0be58..f73d6d4 100644 --- a/autoload/vundle.vim +++ b/autoload/vundle.vim @@ -32,7 +32,7 @@ func! vundle#helptags() for bundle in g:bundles | call bundle.helptags() | endfor endf -func s:parse_options(opts) +func! s:parse_options(opts) " TODO: improve this if len(a:opts) != 1 | return {} | endif @@ -57,15 +57,15 @@ endf let s:bundle = {} -func s:bundle.path() +func! s:bundle.path() return expand(g:bundle_dir.''.self.name) endf -func s:bundle.rtpath() +func! s:bundle.rtpath() return has_key(self, 'rtp') ? join([self.path(), self.rtp], '/') : self.path() endf -func s:bundle.require() +func! s:bundle.require() let dir = self.rtpath() exec 'set rtp^='.dir let after = expand(dir.'/after') | if isdirectory(after) @@ -82,7 +82,7 @@ endf func! s:bundle.sync() let git_dir = self.path().'/.git' - exec '!echo -ne "* '.self.name.'"' + echo self.name if isdirectory(git_dir) silent exec '!cd '.self.path().'; git pull' else