mirror of
				https://github.com/amix/vimrc
				synced 2025-10-31 14:43:35 +08:00 
			
		
		
		
	Updated plugins
This commit is contained in:
		| @ -143,7 +143,12 @@ function! go#cmd#Run(bang, ...) abort | ||||
|   endif | ||||
|  | ||||
|   if go#util#IsWin() | ||||
|     exec '!' . cmd . go#util#Shelljoin(go#tool#Files()) | ||||
|     if a:0 == 0 | ||||
|       exec '!' . cmd . go#util#Shelljoin(go#tool#Files(), 1) | ||||
|     else | ||||
|       exec '!' . cmd . go#util#Shelljoin(map(copy(a:000), "expand(v:val)"), 1) | ||||
|     endif | ||||
|  | ||||
|     if v:shell_error | ||||
|       redraws! | echon "vim-go: [run] " | echohl ErrorMsg | echon "FAILED"| echohl None | ||||
|     else | ||||
|  | ||||
| @ -7,15 +7,6 @@ function! go#job#Spawn(cmd, args) | ||||
|   return go#job#Start(a:cmd, l:options) | ||||
| endfunction | ||||
|  | ||||
| " Spawn starts an asynchronous job. See the description of go#job#Options to | ||||
| " understand the args parameter. | ||||
| " | ||||
| " Spawn returns a job. | ||||
| function! go#job#Spawn(cmd, args) | ||||
|   let l:options = go#job#Options(a:args) | ||||
|   return go#job#Start(a:cmd, l:options) | ||||
| endfunction | ||||
|  | ||||
| " Options returns callbacks to be used with job_start. It is abstracted to be | ||||
| " used with various go commands, such as build, test, install, etc.. This | ||||
| " allows us to avoid writing the same callback over and over for some | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Amir Salihefendic
					Amir Salihefendic