mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
Add natebosch/vim-lsc
parent
cdfec891b4
commit
41f8e121a1
17
gopls.md
17
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user