branch: externals/eglot
commit 5ce9ab01d609aff1a5b3d90d0d772dbf709ca6c1
Author: João Távora <[email protected]>
Commit: João Távora <[email protected]>
Call eglot-eldoc-function after completion finishes
* eglot.el (eglot-completion-at-point): Call
eglot-eldoc-function after completion finishes.
---
eglot.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/eglot.el b/eglot.el
index 0795bc3..d5eae03 100644
--- a/eglot.el
+++ b/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.")