mirror of
				https://github.com/amix/vimrc
				synced 2025-10-31 06:33:35 +08:00 
			
		
		
		
	Updated plugins
This commit is contained in:
		| @ -1,3 +1,3 @@ | ||||
| [run] | ||||
| plugins = covimerage | ||||
| data_file = .coverage.covimerage | ||||
| data_file = .coverage_covimerage | ||||
|  | ||||
| @ -3,6 +3,12 @@ | ||||
| IMPROVEMENTS: | ||||
| * Unify async job handling for Vim8 and Neovim. | ||||
|   [[GH-1864]](https://github.com/fatih/vim-go/pull/1864) | ||||
| * Document Vim and Neovim requirements in README.md and help file. | ||||
|   [[GH-1889]](https://github.com/fatih/vim-go/pull/1889) | ||||
|  | ||||
| BUG FIXES: | ||||
| * Fix `:GoRun %` on Windows. | ||||
|   [[GH-1900]](github.com/fatih/vim-go/pull/1900) | ||||
|  | ||||
| ## 1.18 - (July 18, 2018) | ||||
|  | ||||
|  | ||||
| @ -33,10 +33,13 @@ This plugin adds Go language support for Vim, with the following main features: | ||||
|  | ||||
| ## Install | ||||
|  | ||||
| vim-go requires at least Vim 7.4.1689 or Neovim 0.2.2. | ||||
|  | ||||
| The [**latest stable release**](https://github.com/fatih/vim-go/releases/latest) is the | ||||
| recommended version to use. If you choose to use the master branch instead, | ||||
| please do so with caution; it is a _development_ branch. | ||||
|  | ||||
|  | ||||
| vim-go follows the standard runtime path structure. Below are some helper lines | ||||
| for popular package managers: | ||||
|  | ||||
| @ -46,6 +49,8 @@ for popular package managers: | ||||
|   * `git clone https://github.com/fatih/vim-go.git ~/.vim/bundle/vim-go` | ||||
| * [vim-plug](https://github.com/junegunn/vim-plug) | ||||
|   * `Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' }` | ||||
| * [Vundle](https://github.com/VundleVim/Vundle.vim) | ||||
|   * `Plugin 'fatih/vim-go'` | ||||
|  | ||||
| You will also need to install all the necessary binaries. vim-go makes it easy | ||||
| to install all of them by providing a command, `:GoInstallBinaries`, which will | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -76,6 +76,12 @@ tools developed by the Go community to provide a seamless Vim experience. | ||||
| ============================================================================== | ||||
| INSTALL                                                           *go-install* | ||||
|  | ||||
| vim-go requires at least Vim 7.4.1689 or Neovim 0.2.2. On macOS, if you are | ||||
| still using your system version of vim, you can use homebrew to keep your | ||||
| version of Vim up-to-date with the following terminal command: | ||||
| > | ||||
|   brew install vim | ||||
|  | ||||
| The latest stable release, https://github.com/fatih/vim-go/releases/latest, is | ||||
| the recommended version to use. If you choose to use the master branch | ||||
| instead, please do so with caution; it is a _development_ branch. | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Amir Salihefendic
					Amir Salihefendic