1
0
mirror of https://github.com/golang/go synced 2024-11-18 11:14:39 -07:00

gopls/doc/vim.md: enable suppress_stderr for natebosch/vim-lsc

By default, github.com/natebosch/vim-lsc shows messages from stderr in
vim's :messages, which may cause problems and is generally annoying.
Suggest disabling that by setting suppress_stderr to v:true.

Change-Id: If997b8f8fd036a1ac08ba74a3886f33ff71413c2
Reviewed-on: https://go-review.googlesource.com/c/tools/+/194137
Reviewed-by: Ian Cottrell <iancottrell@google.com>
This commit is contained in:
Ainar Garipov 2019-09-07 20:42:26 +03:00 committed by Ian Cottrell
parent f3d05f808b
commit 1ccc110ba9

View File

@ -62,11 +62,13 @@ let g:lsc_server_commands = {
\ "go": {
\ "command": "gopls serve",
\ "log_level": -1,
\ "suppress_stderr": v:true,
\ },
\}
```
The `log_level` part is needed to prevent breakage from logging. See [natebosch/vim-lsc#180].
The `log_level` and `suppress_stderr` parts are needed to prevent breakage from logging. See
[natebosch/vim-lsc#180] and [natebosch/vim-lsc#213].
## coc.nvim