-
Notifications
You must be signed in to change notification settings - Fork 306
Servers Go
mattn edited this page Dec 21, 2018
·
30 revisions
go get -u github.com/sourcegraph/go-langserver
if executable('go-langserver')
au User lsp_setup call lsp#register_server({
\ 'name': 'go-langserver',
\ 'cmd': {server_info->['go-langserver', '-gocodecompletion']},
\ 'whitelist': ['go'],
\ })
endif
if executable('golsp')
au User lsp_setup call lsp#register_server({
\ 'name': 'golsp',
\ 'cmd': {server_info->['golsp', '-mode', 'stdio']},
\ 'whitelist': ['go'],
\ })
endif
if executable('bingo')
au User lsp_setup call lsp#register_server({
\ 'name': 'bingo',
\ 'cmd': {server_info->['bingo', '-mode', 'stdio']},
\ 'whitelist': ['go'],
\ })
endif