diff --git a/.vimrc.plugins-settings b/.vimrc.plugins-settings index e2ce43ad..81718ad0 100644 --- a/.vimrc.plugins-settings +++ b/.vimrc.plugins-settings @@ -33,6 +33,14 @@ if executable('typescript-language-server') \ }) endif +if executable('go-langserver') + au User lsp_setup call lsp#register_server({ + \ 'name': 'go-langserver', + \ 'cmd': {server_info->['go-langserver', '-gocodecompletion']}, + \ 'whitelist': ['go'], + \ }) +endif + let g:lsp_signs_enabled = 1 let g:lsp_diagnostics_echo_cursor = 1