mirror of
https://github.com/golang/go
synced 2024-11-18 07:04:52 -07:00
gopls/docs: adding nvim-lsp option in gopls README file
Change-Id: Ic44210e227559c8e1cd5cf1350cde69e2817f5e3 GitHub-Last-Rev: c020218392160d03a9448eda62e098fe0c91a063 GitHub-Pull-Request: golang/tools#221 Reviewed-on: https://go-review.googlesource.com/c/tools/+/227442 Reviewed-by: Rebecca Stambler <rstambler@golang.org>
This commit is contained in:
parent
a3568bac92
commit
cd5a53e07f
@ -100,6 +100,10 @@ autocmd BufWritePre *.go :call CocAction('runCommand', 'editor.action.organizeIm
|
||||
|
||||
In vim classic only, use the experimental [`govim`], simply follow the [install steps][govim-install].
|
||||
|
||||
## nvim-lsp
|
||||
|
||||
To use the new builtin lsp client from neovim, using `nvim-lsp`, follow the install steps [neovim/nvim-lsp] and check the gopls [configuration][nvim-lsp-config].
|
||||
|
||||
[vim-go]: https://github.com/fatih/vim-go
|
||||
[LanguageClient-neovim]: https://github.com/autozimu/LanguageClient-neovim
|
||||
[ale]: https://github.com/w0rp/ale
|
||||
@ -110,3 +114,5 @@ In vim classic only, use the experimental [`govim`], simply follow the [install
|
||||
[coc.nvim]: https://github.com/neoclide/coc.nvim/
|
||||
[`govim`]: https://github.com/myitcv/govim
|
||||
[govim-install]: https://github.com/myitcv/govim/blob/master/README.md#govim---go-development-plugin-for-vim8
|
||||
[neovim/nvim-lsp]: https://github.com/neovim/nvim-lsp#install
|
||||
[nvim-lsp-config]: https://github.com/neovim/nvim-lsp#gopls
|
||||
|
Loading…
Reference in New Issue
Block a user