From c9d8509c5bf2f1aee7d4859c2234a683d0a4cb9a Mon Sep 17 00:00:00 2001 From: Martin Polden Date: Sun, 26 Jan 2020 13:19:19 +0100 Subject: Add comment with gopls instructions --- lisp/init-eglot.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lisp/init-eglot.el') diff --git a/lisp/init-eglot.el b/lisp/init-eglot.el index 4f551be..91c2c3b 100644 --- a/lisp/init-eglot.el +++ b/lisp/init-eglot.el @@ -1,6 +1,7 @@ (use-package eglot :hook ;; enable eglot in go-mode + ;; requires gopls: env GO111MODULE=on go get golang.org/x/tools/gopls@latest ((go-mode . eglot-ensure) ;; format on save (before-save . eglot-format)) @@ -10,7 +11,7 @@ ;; C-c p formats buffer ("C-c p" . eglot-format)) :config - ;; disable imenu integration as it's currently unsupported + ;; disable imenu integration as it's currently unsupported with gopls ;; https://github.com/joaotavora/eglot/pull/303 (setq eglot-stay-out-of '("imenu"))) -- cgit v1.2.3