summaryrefslogtreecommitdiffstats
path: root/lisp/init-eglot.el
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2020-02-20 19:48:07 +0100
committerMartin Polden <mpolden@mpolden.no>2020-02-20 19:48:07 +0100
commit467dcb0e4ff523099713a7f9819898e2fc19080e (patch)
tree945bcbe47b5896456f36631e2f16d450ff537cbc /lisp/init-eglot.el
parent4fdb26e93e6a8444ae312765abace7f5d41b057d (diff)
Disable symbol highlighting
Diffstat (limited to 'lisp/init-eglot.el')
-rw-r--r--lisp/init-eglot.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/init-eglot.el b/lisp/init-eglot.el
index 6146bf6..c9e9b73 100644
--- a/lisp/init-eglot.el
+++ b/lisp/init-eglot.el
@@ -11,6 +11,8 @@
;; C-c f formats buffer
("C-c f" . eglot-format))
:config
+ ;; disble symbol highlighting
+ (setq eglot-ignored-server-capabilites '(:documentHighlightProvider))
;; disable imenu integration as it's currently unsupported with gopls
;; https://github.com/joaotavora/eglot/pull/303
(setq eglot-stay-out-of '("imenu")))