mirror of
https://github.com/amix/vimrc
synced 2025-07-01 20:55:00 +08:00
Updated plugins
This commit is contained in:
@ -1,5 +1,9 @@
|
||||
## unplanned
|
||||
|
||||
BACKWARDS INCOMPATABILITIES:
|
||||
* `g:go_metalinter_disabled` has been removed.
|
||||
[[GH-2375]](https://github.com/fatih/vim-go/pull/2117)
|
||||
|
||||
IMPROVEMENTS:
|
||||
* Add a new option, `g:go_code_completion_enabled`, to control whether omnifunc
|
||||
is set.
|
||||
@ -8,6 +12,53 @@ IMPROVEMENTS:
|
||||
[[GH-2261]](https://github.com/fatih/vim-go/pull/2261)
|
||||
* Allow debugging of packages outside of GOPATH without a go.mod file.
|
||||
[[GH-2269]](https://github.com/fatih/vim-go/pull/2269)
|
||||
* Show which example failed when Example tests fail
|
||||
[[GH-2277]](https://github.com/fatih/vim-go/pull/2277)
|
||||
* Show function signature and return types in preview window when autocompleting functions and methods.
|
||||
[[GH-2289]](https://github.com/fatih/vim-go/pull/2289)
|
||||
* Improve the user experience when using null modules.
|
||||
[[GH-2300]](https://github.com/fatih/vim-go/pull/2300)
|
||||
* Modify `:GoReportGitHubIssue` to include vim-go configuration values
|
||||
[[GH-2323]](https://github.com/fatih/vim-go/pull/2323)
|
||||
* Respect `g:go_info_mode='gopls'` in go#complete#GetInfo.
|
||||
[[GH-2313]](https://github.com/fatih/vim-go/pull/2313)
|
||||
* Allow `:GoLint`, `:GoErrCheck`, and `:GoDebug` to work in null modules.
|
||||
[[GH-2335]](https://github.com/fatih/vim-go/pull/2335)
|
||||
* Change default value for `g:go_info_mode` and `g:go_def_mode` to `'gopls'`.
|
||||
[[GH-2329]](https://github.com/fatih/vim-go/pull/2329)
|
||||
* Add a new option, `g:go_doc_popup_window` to optionally use a popup window
|
||||
for godoc in Vim 8.1.1513 and later.
|
||||
[[GH-2347]](https://github.com/fatih/vim-go/pull/2347)
|
||||
* Add `:GoAddWorkspace` function to support multiple workspaces with gopls.
|
||||
[[GH-2356]](https://github.com/fatih/vim-go/pull/2356)
|
||||
* Install gopls from its stable package.
|
||||
[[GH-2360]](https://github.com/fatih/vim-go/pull/2360)
|
||||
* Disambiguate progress message when initializing gopls.
|
||||
[[GH-2369]](https://github.com/fatih/vim-go/pull/2369)
|
||||
* Calculate LSP position correctly when on a line that contains multi-byte
|
||||
characters before the position.
|
||||
[[GH-2389]](https://github.com/fatih/vim-go/pull/2389)
|
||||
* Calculate Vim position correctly from LSP text position.
|
||||
[[GH-2395]](https://github.com/fatih/vim-go/pull/2395)
|
||||
* Use the statusline to display gopls initialization status messages and only
|
||||
echo the statuses when `g:go_echo_command_info` is set.
|
||||
[[GH-2422]](https://github.com/fatih/vim-go/pull/2422)
|
||||
* Send configuration to gopls so that build tags will be considered and hover
|
||||
content won't have documentation.
|
||||
[[GH-2429]](https://github.com/fatih/vim-go/pull/2429)
|
||||
* Add a new option, `g:go_term_close_on_exit`, to control whether jobs run in a
|
||||
terminal window will close the terminal window when the job exits.
|
||||
[[GH-2409]](https://github.com/fatih/vim-go/pull/2409)
|
||||
* Allow `g:go_template_file` and `g:go_template_test_files` to reside outside
|
||||
of vim-go's template directory.
|
||||
[[GH-2434]](https://github.com/fatih/vim-go/pull/2434)
|
||||
* Add a new command, `:GoLSPDebugBrowser`, to open a browser to gopls debugging
|
||||
view.
|
||||
[[GH-2436]](https://github.com/fatih/vim-go/pull/2436)
|
||||
* Restart gopls automatically when it is updated via `:GoUpdateBinaries`.
|
||||
[[GH-2453]](https://github.com/fatih/vim-go/pull/2453)
|
||||
* Reset `'more'` while installing binaries to avoid unnecessary more prompts.
|
||||
[[GH-2457]](https://github.com/fatih/vim-go/pull/2457)
|
||||
|
||||
BUG FIXES:
|
||||
* display info about function and function types whose parameters are
|
||||
@ -26,6 +77,44 @@ BUG FIXES:
|
||||
[[GH-2268]](https://github.com/fatih/vim-go/pull/2268)
|
||||
* Set the anchor for method documentation correctly.
|
||||
[[GH-2276]](https://github.com/fatih/vim-go/pull/2276)
|
||||
* Respect the LSP information for determining where candidate matches start.
|
||||
[[GH-2291]](https://github.com/fatih/vim-go/pull/2291)
|
||||
* Restore environment variables with backslashes correctly.
|
||||
[[GH-2292]](https://github.com/fatih/vim-go/pull/2292)
|
||||
* Modify handling of gopls output for `:GoInfo` to ensure the value will be
|
||||
displayed.
|
||||
[[GH-2311]](https://github.com/fatih/vim-go/pull/2311)
|
||||
* Run `:GoLint` successfully in null modules.
|
||||
[[GH-2318]](https://github.com/fatih/vim-go/pull/2318)
|
||||
* Ensure actions on save work in new buffers that have not yet been persisted to disk.
|
||||
[[GH-2319]](https://github.com/fatih/vim-go/pull/2319)
|
||||
* Restore population of information in `:GoReportGitHubIssue`.
|
||||
[[GH-2312]](https://github.com/fatih/vim-go/pull/2312)
|
||||
* Do not jump back to the originating window when jumping to definitions with
|
||||
`g:go_def_mode='gopls'`.
|
||||
[[GH-2327]](https://github.com/fatih/vim-go/pull/2327)
|
||||
* Fix getting information about a valid identifier for which gopls returns no
|
||||
information (e.g. calling `:GoInfo` on a package identifier).
|
||||
[[GH-2339]](https://github.com/fatih/vim-go/pull/2339)
|
||||
* Fix tab completion of package names on the cmdline in null modules.
|
||||
[[GH-2342]](https://github.com/fatih/vim-go/pull/2342)
|
||||
* Display identifier info correctly when the identifier has no godoc.
|
||||
[[GH-2373]](https://github.com/fatih/vim-go/pull/2373)
|
||||
* Fix false positives when saving a buffer and `g:go_metalinter_command` is
|
||||
`golangci-lint`.
|
||||
[[GH-2367]](https://github.com/fatih/vim-go/pull/2367)
|
||||
* Fix `:GoDebugRestart`.
|
||||
[[GH-2390]](https://github.com/fatih/vim-go/pull/2390)
|
||||
* Do not execute tests twice in terminal mode.
|
||||
[[GH-2397]](https://github.com/fatih/vim-go/pull/2397)
|
||||
* Do not open a new buffer in Neovim when there are compilation errors and
|
||||
terminal mode is enabled.
|
||||
[[GH-2401]](https://github.com/fatih/vim-go/pull/2401)
|
||||
* Fix error due to typo in implementation of `:GoAddWorkspace`.
|
||||
[[GH-2415]](https://github.com/fatih/vim-go/pull/2401)
|
||||
* Do not format the file automatically when `g:go_format_autosave` is set and
|
||||
the file being written is not the current file.
|
||||
[[GH-2442]](https://github.com/fatih/vim-go/pull/2401)
|
||||
|
||||
## 1.20 - (April 22, 2019)
|
||||
|
||||
|
Reference in New Issue
Block a user