summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--user/emacs/init.el2
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)