Skip to content

Commit 451da60

Browse files
committed
gopls/doc: fix config for vim-lsp
Avoid duplicate results if name and and server info do not match
1 parent 7829e07 commit 451da60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gopls/doc/vim.md

+1-1
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)