From 734647632c9d55b57eb0b2e47b95985226ed2166 Mon Sep 17 00:00:00 2001 From: Martin Polden Date: Sun, 23 Feb 2020 10:49:42 +0100 Subject: Disable documentation on hover --- lisp/init-eglot.el | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'lisp/init-eglot.el') diff --git a/lisp/init-eglot.el b/lisp/init-eglot.el index c9e9b73..f852bcf 100644 --- a/lisp/init-eglot.el +++ b/lisp/init-eglot.el @@ -5,14 +5,18 @@ ((go-mode . eglot-ensure) ;; format on save (before-save . eglot-format)) + :bind (:map eglot-mode-map ;; C-c r renames identifier ("C-c r" . eglot-rename) ;; C-c f formats buffer ("C-c f" . eglot-format)) + :config - ;; disble symbol highlighting - (setq eglot-ignored-server-capabilites '(:documentHighlightProvider)) + ;; disable symbol highlighting and documentation on hover + (setq eglot-ignored-server-capabilites '(:documentHighlightProvider + :hoverProvider)) + ;; 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