diff options
-rw-r--r-- | lisp/init-eglot.el | 3 |
1 files changed, 2 insertions, 1 deletions
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"))) |