Merge remote branch 'dbox/nin' into nin
This commit is contained in:
commit
d71770dc0a
@ -37,5 +37,6 @@ endif
|
|||||||
|
|
||||||
func! vundle#rc(...) abort
|
func! vundle#rc(...) abort
|
||||||
let g:bundle_dir = len(a:000) > 0 ? expand(a:1) : expand('$HOME/.vim/bundle')
|
let g:bundle_dir = len(a:000) > 0 ? expand(a:1) : expand('$HOME/.vim/bundle')
|
||||||
|
let g:vundle_log = []
|
||||||
call vundle#config#init()
|
call vundle#config#init()
|
||||||
endf
|
endf
|
||||||
|
@ -193,7 +193,6 @@ func! s:system(cmd) abort
|
|||||||
endf
|
endf
|
||||||
|
|
||||||
func! s:log(str) abort
|
func! s:log(str) abort
|
||||||
if !exists('g:vundle_log') | let g:vundle_log = [] | endif
|
|
||||||
call add(g:vundle_log, a:str)
|
call add(g:vundle_log, a:str)
|
||||||
return a:str
|
return a:str
|
||||||
endf
|
endf
|
||||||
|
@ -23,9 +23,12 @@ func! vundle#scripts#complete(a,c,d)
|
|||||||
endf
|
endf
|
||||||
|
|
||||||
func! s:view_log()
|
func! s:view_log()
|
||||||
if !exists('b:log_file') | let b:log_file = tempname() | endif
|
if !exists('g:vundle_log_file')
|
||||||
call writefile(g:vundle_log, b:log_file)
|
let g:vundle_log_file = expand('$HOME/.vim-vundle/vundle.log')
|
||||||
silent pedit `=b:log_file`
|
endif
|
||||||
|
|
||||||
|
call writefile(g:vundle_log, g:vundle_log_file)
|
||||||
|
silent pedit `=g:vundle_log_file`
|
||||||
|
|
||||||
wincmd P | wincmd H
|
wincmd P | wincmd H
|
||||||
endf
|
endf
|
||||||
|
Loading…
Reference in New Issue
Block a user