emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/eglot 5ce9ab0 106/139: Call eglot-eldoc-function after


From: João Távora
Subject: [elpa] externals/eglot 5ce9ab0 106/139: Call eglot-eldoc-function after completion finishes
Date: Mon, 14 May 2018 09:55:02 -0400 (EDT)

branch: externals/eglot
commit 5ce9ab01d609aff1a5b3d90d0d772dbf709ca6c1
Author: João Távora <address@hidden>
Commit: João Távora <address@hidden>

    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.")
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]