summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/emacs/init.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 6652d57c..6ffe393d 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -1096,7 +1096,7 @@ _C-k_: prev  _u_pper              _=_: upper/lower       _s_mart resolve
             (when (assoc 'nix-mode eglot-server-programs)
               (setf (car (assoc 'nix-mode eglot-server-programs)) '(nix-mode nix-ts-mode)))
             (nconc eglot-server-programs '((toml-ts-mode "taplo" "lsp" "stdio")))
-            (advice-add 'eglot--message :before-while (lambda (formatstring &rest rest)
+            (advice-add 'eglot--message :before-until (lambda (formatstring &rest rest)
                                                         (s-starts-with-p "Connected!" formatstring)))
             (defun my/setup-eglot-eldoc ()
               (push 'flymake-eldoc-function eldoc-documentation-functions))