Skip to content

Commit

Permalink
README: add Emacs install instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
ionling authored Dec 13, 2021
1 parent cf88391 commit ea37f49
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,15 @@ simply configure `gopls` to use `gofumpt`:
call govim#config#Set("Gofumpt", 1)
```

#### Emacs

For [lsp-mode](https://emacs-lsp.github.io/lsp-mode/) users:

```elisp
(lsp-register-custom-settings
'(("gopls.gofumpt" t)))
```

#### Sublime Text

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

0 comments on commit ea37f49

Please sign in to comment.