summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/emacs/init.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el
index b805c58..6823f86 100644
--- a/.config/emacs/init.el
+++ b/.config/emacs/init.el
@@ -503,8 +503,7 @@ existing grammars."
(eglot-events-buffer 0)
(eglot-extend-to-xref t)
:config
- (setq eglot-managed-mode-hook
- (list (λ (eglot-inlay-hints-mode -1))))
+ (add-hook 'eglot-managed-mode-hook (λ (eglot-inlay-hints-mode -1)))
(dolist (feature '(eldoc flymake))
(add-to-list 'eglot-stay-out-of feature))
(with-eval-after-load 'eglot