diff options
author | Martin Polden <mpolden@mpolden.no> | 2020-01-26 13:19:19 +0100 |
---|---|---|
committer | Martin Polden <mpolden@mpolden.no> | 2020-01-26 13:20:54 +0100 |
commit | c9d8509c5bf2f1aee7d4859c2234a683d0a4cb9a (patch) | |
tree | 1627e5b34e91b6c255fa83e5aae5754f9dd3908e /lisp/init-eglot.el | |
parent | d79236308d92eab562005919a225d964b24eec19 (diff) |
Add comment with gopls instructions
Diffstat (limited to 'lisp/init-eglot.el')
-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"))) |