From 41f8e121a1a99db17dab1f7572063f14e69b4ab6 Mon Sep 17 00:00:00 2001 From: Ainar Garipov Date: Mon, 5 Aug 2019 23:48:52 +0300 Subject: [PATCH] Add natebosch/vim-lsc --- gopls.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/gopls.md b/gopls.md index e0660547..2dffc536 100644 --- a/gopls.md +++ b/gopls.md @@ -133,7 +133,7 @@ see [this issue](https://github.com/w0rp/ale/issues/2179) **or** -Use [vim-lsp](https://github.com/prabirshrestha/vim-lsp/), with the following configuration: +Use [prabirshrestha/vim-lsp](https://github.com/prabirshrestha/vim-lsp/), with the following configuration: ```vim augroup LspGo @@ -152,6 +152,21 @@ augroup END **or** +Use [natebosch/vim-lsp](https://github.com/natebosch/vim-lsp/), with the following configuration: + +```vim +let g:lsc_server_commands = { +\ "go": { +\ "command": "gopls serve", +\ "log_level": -1, +\ }, +\} +``` + +The `log_level` part is needed to prevent breakage from logging. See [natebosch/vim-lsc#180](https://github.com/natebosch/vim-lsc/issues/180). + +**or** + Use [coc.nvim](https://github.com/neoclide/coc.nvim/), with the following `coc-settings.json` configuration: ```json