We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec957d2 commit e676cd6Copy full SHA for e676cd6
README.md
@@ -504,6 +504,20 @@ simply configure `gopls` to use `gofumpt`:
504
call govim#config#Set("Gofumpt", 1)
505
```
506
507
+#### Neovim
508
+
509
+When using [`lspconfig`](https://github.com/neovim/nvim-lspconfig), pass the `gofumpt` setting to `gopls`:
510
511
+```lua
512
+require('lspconfig').gopls.setup({
513
+ settings = {
514
+ gopls = {
515
+ gofumpt = true
516
+ }
517
518
+})
519
+```
520
521
#### Emacs
522
523
For [lsp-mode](https://emacs-lsp.github.io/lsp-mode/) users:
0 commit comments