diff options
-rw-r--r-- | .config/emacs/init.el | 3 |
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 |