mirror of
https://github.com/golang/go.git
synced 2024-11-22 05:40:42 +00:00
Remove request throttling for Neovim now that gopls uses caching
parent
02c0d09fd3
commit
9ecc0aed3d
2
gopls.md
2
gopls.md
@ -43,8 +43,6 @@ g:go_def_mode='gopls'
|
||||
let g:LanguageClient_serverCommands = {
|
||||
\ 'go': ['gopls']
|
||||
\ }
|
||||
" Prevents the language client from overwhelming gopls with too many requests
|
||||
let g:LanguageClient_changeThrottle = 0.5
|
||||
" Run gofmt and goimports on save
|
||||
autocmd BufWritePre *.go :call LanguageClient#textDocument_formatting_sync()
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user