TODOs
This commit is contained in:
parent
aeb18a98d1
commit
e9f430ee0e
@ -13,7 +13,7 @@ endf
|
|||||||
|
|
||||||
func! vundle#config#require(bundle)
|
func! vundle#config#require(bundle)
|
||||||
call s:rtp_add(g:bundle_dir)
|
call s:rtp_add(g:bundle_dir)
|
||||||
" TODO: it has to be relative rtpath, not bundle, name
|
" TODO: it has to be relative rtpath, not bundle.name
|
||||||
exec 'runtime! '.a:bundle.name.'/plugin/*.vim'
|
exec 'runtime! '.a:bundle.name.'/plugin/*.vim'
|
||||||
exec 'runtime! '.a:bundle.name.'/after/*.vim'
|
exec 'runtime! '.a:bundle.name.'/after/*.vim'
|
||||||
call s:rtp_rm(g:bundle_dir)
|
call s:rtp_rm(g:bundle_dir)
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
func! vundle#installer#install(bang)
|
func! vundle#installer#install(bang)
|
||||||
" TODO: this sucks
|
" TODO: obtain Bundles without sourcing .vimrc
|
||||||
silent source ~/.vimrc
|
silent source ~/.vimrc
|
||||||
if !isdirectory(g:bundle_dir) | call mkdir(g:bundle_dir, 'p') | endif
|
if !isdirectory(g:bundle_dir) | call mkdir(g:bundle_dir, 'p') | endif
|
||||||
for bundle in g:bundles | call s:install('!' == a:bang, bundle) | endfor
|
for bundle in g:bundles | call s:install('!' == a:bang, bundle) | endfor
|
||||||
@ -37,6 +37,7 @@ func! s:install(bang, bundle)
|
|||||||
if synced | call vundle#config#require(a:bundle) | endif
|
if synced | call vundle#config#require(a:bundle) | endif
|
||||||
endf
|
endf
|
||||||
|
|
||||||
|
" TODO: make it pause after output in console mode
|
||||||
func! s:log(msg)
|
func! s:log(msg)
|
||||||
if has('gui_running')
|
if has('gui_running')
|
||||||
echo a:msg
|
echo a:msg
|
||||||
|
Loading…
Reference in New Issue
Block a user