Skip to content

Commit ea37f49

Browse files
authored
README: add Emacs install instructions
1 parent cf88391 commit ea37f49

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

+9
Original file line numberDiff line numberDiff line change
@@ -517,6 +517,15 @@ simply configure `gopls` to use `gofumpt`:
517517
call govim#config#Set("Gofumpt", 1)
518518
```
519519

520+
#### Emacs
521+
522+
For [lsp-mode](https://emacs-lsp.github.io/lsp-mode/) users:
523+
524+
```elisp
525+
(lsp-register-custom-settings
526+
'(("gopls.gofumpt" t)))
527+
```
528+
520529
#### Sublime Text
521530

522531
With ST4, install the Sublime Text LSP extension according to [the documentation](https://github.com/sublimelsp/LSP),

0 commit comments

Comments
 (0)