diff options
author | Alan Pearce | 2024-05-21 19:33:49 +0200 |
---|---|---|
committer | Alan Pearce | 2024-05-21 19:33:49 +0200 |
commit | 213555ac6cd409b7a254a5f5820d49f2bf8c7532 (patch) | |
tree | 8cdada4aab7fcf5ee2ea158f7ee1fb40c3873095 /user | |
parent | 07f260339af3c985e0a2998ac37d48e91f48cc97 (diff) | |
download | nixfiles-213555ac6cd409b7a254a5f5820d49f2bf8c7532.tar.lz nixfiles-213555ac6cd409b7a254a5f5820d49f2bf8c7532.tar.zst nixfiles-213555ac6cd409b7a254a5f5820d49f2bf8c7532.zip |
emacs: quieten eglot properly
Diffstat (limited to 'user')
-rw-r--r-- | user/emacs/init.el | 2 |
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)) |