mirror of
				https://github.com/amix/vimrc
				synced 2025-10-31 14:43:35 +08:00 
			
		
		
		
	Updated vim plugins
This commit is contained in:
		| @ -33,15 +33,15 @@ command! -nargs=? -complete=dir GoPath call go#path#GoPath(<f-args>) | ||||
| " target install directory. GoInstallBinaries doesn't install binaries if they | ||||
| " exist, to update current binaries pass 1 to the argument. | ||||
| function! s:GoInstallBinaries(updateBinaries) | ||||
|   if $GOPATH == "" && go#util#gopath() == "" | ||||
|     echohl Error | ||||
|     echomsg "vim.go: $GOPATH is not set" | ||||
|     echohl None | ||||
|   let err = s:CheckBinaries() | ||||
|   if err != 0 | ||||
|     return | ||||
|   endif | ||||
|  | ||||
|   let err = s:CheckBinaries() | ||||
|   if err != 0 | ||||
|   if go#path#Default() == "" | ||||
|     echohl Error | ||||
|     echomsg "vim.go: $GOPATH is not set and 'go env GOPATH' returns empty" | ||||
|     echohl None | ||||
|     return | ||||
|   endif | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 amix
					amix