all repos — nixfiles @ 942561518c541a1dac99de36d0bcd404ba89ebc3

System and user configuration, managed by nix and home-manager

Emacs: disable auto-highlighting of symbol at point
Alan Pearce alan@alanpearce.eu
Wed, 07 Jun 2023 19:01:26 +0200
commit

942561518c541a1dac99de36d0bcd404ba89ebc3

parent

572cea1b1bc913f4543d8be6e5786a148954dbd0

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -1051,7 +1051,8 @@ (defun my/setup-eglot-eldoc ()               (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)