| commit | e7e63d1c261773714a5def30dcf3dc66af9ad156 | [log] [tgz] |
|---|---|---|
| author | Genki Sugimoto <cfhoyuk.reccos.nelg@gmail.com> | Tue Jul 23 16:24:35 2019 +0900 |
| committer | Genki Sugimoto <cfhoyuk.reccos.nelg@gmail.com> | Tue Jul 23 16:24:35 2019 +0900 |
| tree | 2afc191bc650190baa0af1e01f843c853359aefb | |
| parent | 336e4147ad75c7ce5e832cac146b2cac3b33d744 [diff] |
gopls does not run `goimports` upon `textDocument/formatting` method. Please see https://github.com/autozimu/LanguageClient-neovim/issues/854
diff --git a/gopls.md b/gopls.md index 7efc3d9..8f51eb1 100644 --- a/gopls.md +++ b/gopls.md
@@ -111,7 +111,7 @@ let g:LanguageClient_serverCommands = { \ 'go': ['gopls'] \ } -" Run gofmt and goimports on save +" Run gofmt on save autocmd BufWritePre *.go :call LanguageClient#textDocument_formatting_sync() ```