1
0
mirror of https://github.com/amix/vimrc synced 2025-06-16 09:35:01 +08:00

Updated plugins

This commit is contained in:
Amir Salihefendic
2018-07-19 14:52:53 +02:00
parent 2f164fee9b
commit cc997dc3d0
99 changed files with 1572 additions and 1151 deletions

View File

@ -26,7 +26,12 @@ function! go#def#Jump(mode) abort
endif
elseif bin_name == 'guru'
let cmd = [bin_name, '-tags', go#config#BuildTags()]
let cmd = [go#path#CheckBinPath(bin_name)]
let buildtags = go#config#BuildTags()
if buildtags isnot ''
let cmd += ['-tags', buildtags]
endif
let stdin_content = ""
if &modified
@ -278,13 +283,7 @@ function! go#def#Stack(...) abort
endfunction
function s:def_job(args) abort
let callbacks = go#job#Spawn(a:args)
let start_options = {
\ 'callback': callbacks.callback,
\ 'exit_cb': callbacks.exit_cb,
\ 'close_cb': callbacks.close_cb,
\ }
let l:start_options = go#job#Options(a:args)
if &modified
let l:tmpname = tempname()
@ -293,7 +292,7 @@ function s:def_job(args) abort
let l:start_options.in_name = l:tmpname
endif
call job_start(a:args.cmd, start_options)
call go#job#Start(a:args.cmd, start_options)
endfunction
" vim: sw=2 ts=2 et