From 83c82b7c55d1dc017f213f75dfc0328b7680620f Mon Sep 17 00:00:00 2001 From: Martin Baillie Date: Thu, 16 Dec 2021 23:36:33 +1100 Subject: [PATCH] README: add Eglot (Emacs) instructions --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index a00d17c..33d6414 100644 --- a/README.md +++ b/README.md @@ -526,6 +526,13 @@ For [lsp-mode](https://emacs-lsp.github.io/lsp-mode/) users: '(("gopls.gofumpt" t))) ``` +For [eglot](https://github.com/joaotavora/eglot) users: + +```elisp +(setq-default eglot-workspace-configuration + '((:gopls . ((gofumpt . t))))) +``` + #### Sublime Text With ST4, install the Sublime Text LSP extension according to [the documentation](https://github.com/sublimelsp/LSP),