|
@ -33,10 +33,15 @@ func! s:view_log() |
|
|
wincmd P | wincmd H |
|
|
wincmd P | wincmd H |
|
|
endf |
|
|
endf |
|
|
|
|
|
|
|
|
func vundle#scripts#bundle_names(names) |
|
|
|
|
|
|
|
|
func! vundle#scripts#bundle_names(names) |
|
|
return map(copy(a:names), ' printf("Bundle ' ."'%s'".'", v:val) ') |
|
|
return map(copy(a:names), ' printf("Bundle ' ."'%s'".'", v:val) ') |
|
|
endf |
|
|
endf |
|
|
|
|
|
|
|
|
|
|
|
func! vundle#scripts#bundle_make_cmds(bundles) |
|
|
|
|
|
let bundles_with_make = filter(copy(a:bundles), 'has_key(v:val, "make_cmd")') |
|
|
|
|
|
return map(bundles_with_make, ' printf("Make ' ."'%s'".' '.'", v:val.name_spec) ') |
|
|
|
|
|
endf |
|
|
|
|
|
|
|
|
func! vundle#scripts#view(title, headers, results) |
|
|
func! vundle#scripts#view(title, headers, results) |
|
|
if exists('g:vundle_view') && bufloaded(g:vundle_view) |
|
|
if exists('g:vundle_view') && bufloaded(g:vundle_view) |
|
|
exec g:vundle_view.'bd!' |
|
|
exec g:vundle_view.'bd!' |
|
@ -61,6 +66,7 @@ func! vundle#scripts#view(title, headers, results) |
|
|
setl syntax=vim |
|
|
setl syntax=vim |
|
|
syn keyword vimCommand Bundle |
|
|
syn keyword vimCommand Bundle |
|
|
syn keyword vimCommand Helptags |
|
|
syn keyword vimCommand Helptags |
|
|
|
|
|
syn keyword vimCommand Make |
|
|
|
|
|
|
|
|
com! -buffer -bang -nargs=1 DeleteBundle |
|
|
com! -buffer -bang -nargs=1 DeleteBundle |
|
|
\ call vundle#installer#run('vundle#installer#delete', split(<q-args>,',')[0], ['!' == '<bang>', <args>]) |
|
|
\ call vundle#installer#run('vundle#installer#delete', split(<q-args>,',')[0], ['!' == '<bang>', <args>]) |
|
@ -71,6 +77,9 @@ func! vundle#scripts#view(title, headers, results) |
|
|
com! -buffer -bang -nargs=? InstallBundle |
|
|
com! -buffer -bang -nargs=? InstallBundle |
|
|
\ call vundle#installer#run('vundle#installer#install', split(<q-args>,',')[0], ['!' == '<bang>', <q-args>]) |
|
|
\ call vundle#installer#run('vundle#installer#install', split(<q-args>,',')[0], ['!' == '<bang>', <q-args>]) |
|
|
|
|
|
|
|
|
|
|
|
com! -buffer -bar -bang -nargs=1 InstallMake |
|
|
|
|
|
\ call vundle#installer#run('vundle#installer#make', split(<q-args>,',')[0], [split(<args>,',')[0]]) |
|
|
|
|
|
|
|
|
com! -buffer -bang -nargs=0 InstallHelptags |
|
|
com! -buffer -bang -nargs=0 InstallHelptags |
|
|
\ call vundle#installer#run('vundle#installer#docs', 'helptags', []) |
|
|
\ call vundle#installer#run('vundle#installer#docs', 'helptags', []) |
|
|
|
|
|
|
|
|