Skip to content

Commit d363f10

Browse files
albfangopherbot
authored andcommitted
gopls/doc: fix config for vim-lsp
Avoid duplicate results if name and and server info do not match Change-Id: I9994c8136ec58fd84eccd5a236dc4160dde3395a GitHub-Last-Rev: 451da60 GitHub-Pull-Request: #569 Reviewed-on: https://go-review.googlesource.com/c/tools/+/662555 Reviewed-by: Sean Liao <sean@liao.dev> Auto-Submit: Sean Liao <sean@liao.dev> Reviewed-by: Carlos Amedee <carlos@golang.org> Reviewed-by: Alberto Fanjul Alonso <albertofanjul@gmail.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
1 parent 7829e07 commit d363f10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gopls/doc/vim.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Use [prabirshrestha/vim-lsp], with the following configuration:
5656
augroup LspGo
5757
au!
5858
autocmd User lsp_setup call lsp#register_server({
59-
\ 'name': 'go-lang',
59+
\ 'name': 'gopls',
6060
\ 'cmd': {server_info->['gopls']},
6161
\ 'whitelist': ['go'],
6262
\ })

0 commit comments

Comments
 (0)