diff options
author | Alan Pearce | 2024-04-28 09:15:41 +0200 |
---|---|---|
committer | Alan Pearce | 2024-04-28 09:15:41 +0200 |
commit | 2f9f01c6d1ef0b690b3121d4a85b263634f988a4 (patch) | |
tree | 2a26a0dbe3fb6e45ac1c9ae997b4607447f5aad3 /user | |
parent | d960a2fda8b3f3e55ce9e970b158e206d7202feb (diff) | |
download | nixfiles-2f9f01c6d1ef0b690b3121d4a85b263634f988a4.tar.lz nixfiles-2f9f01c6d1ef0b690b3121d4a85b263634f988a4.tar.zst nixfiles-2f9f01c6d1ef0b690b3121d4a85b263634f988a4.zip |
emacs: make eglot quiet on connection
Diffstat (limited to 'user')
-rw-r--r-- | user/emacs/init.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el index c7b995fa..9f8d18e4 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -1063,6 +1063,8 @@ _C-k_: prev _u_pper _=_: upper/lower _s_mart resolve haskell-mode-hook) #'eglot-ensure) :config (progn + (advice-add 'eglot--message :before-while (lambda (formatstring &rest rest) + (s-starts-with-p "Connected!" formatstring))) (defun my/setup-eglot-eldoc () (push 'flymake-eldoc-function eldoc-documentation-functions)) (add-hook 'eglot-managed-mode-hook 'my/setup-eglot-eldoc) |