From 0a9c14efad60e29ba7604e19f5822757e0c066d6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jo=C3=A3o=20T=C3=A1vora?= Date: Wed, 9 May 2018 22:28:29 +0100 Subject: [PATCH] Call eglot-eldoc-function after completion finishes * eglot.el (eglot-completion-at-point): Call eglot-eldoc-function after completion finishes. --- lisp/progmodes/eglot.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 0795bc3e8c9..d5eae031e08 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -1292,7 +1292,9 @@ DUMMY is ignored" (lambda (items) (sort items (lambda (a b) (string-lessp (get-text-property 0 :sortText a) - (get-text-property 0 :sortText b))))))))) + (get-text-property 0 :sortText b))))) + :exit-function + (lambda (_string _status) (eglot-eldoc-function)))))) (defvar eglot--highlights nil "Overlays for textDocument/documentHighlight.") -- 2.39.2