summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2023-06-07 19:01:26 +0200
committerAlan Pearce2023-06-07 19:01:26 +0200
commit942561518c541a1dac99de36d0bcd404ba89ebc3 (patch)
treeec2cefae53959b94f7d3cbe8099ad03dbbc6d177
parent572cea1b1bc913f4543d8be6e5786a148954dbd0 (diff)
downloadnixfiles-942561518c541a1dac99de36d0bcd404ba89ebc3.tar.lz
nixfiles-942561518c541a1dac99de36d0bcd404ba89ebc3.tar.zst
nixfiles-942561518c541a1dac99de36d0bcd404ba89ebc3.zip
Emacs: disable auto-highlighting of symbol at point
-rw-r--r--user/emacs/init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 487d93ad..84c905b1 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -1051,7 +1051,8 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
               (push 'flymake-eldoc-function eldoc-documentation-functions))
             (add-hook 'eglot-managed-mode-hook 'my/setup-eglot-eldoc)
             (setq-default eglot-workspace-configuration
-                          '(:yaml (:keyOrdering nil)))))
+                          '(:yaml (:keyOrdering nil))
+                          eglot-ignored-server-capabilities '(:documentHighlightProvider))))
 
 (use-package consult-eglot
   :commands (consult-eglot-symbols)