emacs-diffs
[Top][All Lists]
Advanced

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

feature/eglot2emacs 09c071d3d1 019/120: Add tooltip describing pending r


From: João Távora
Subject: feature/eglot2emacs 09c071d3d1 019/120: Add tooltip describing pending requests
Date: Thu, 20 Oct 2022 07:16:46 -0400 (EDT)

branch: feature/eglot2emacs
commit 09c071d3d1feee5c50afb2ba3e80b4f5c79ca793
Author: Felicián Németh <felician.nemeth@gmail.com>
Commit: GitHub <noreply@github.com>

    Add tooltip describing pending requests
    
    * eglot.el (eglot--mode-line-format): Add tooltip to `pending'.
    
    GitHub-reference: per https://github.com/joaotavora/eglot/issues/784
---
 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 922b9225d2..85220f2cd5 100644
--- a/lisp/progmodes/eglot.el
+++ b/lisp/progmodes/eglot.el
@@ -1720,7 +1720,9 @@ Uses THING, FACE, DEFS and PREPEND."
              `("/" ,(eglot--mode-line-props
                      (format "%d" pending) 'warning
                      '((mouse-3 eglot-forget-pending-continuations
-                                "forget pending continuations"))))))))))
+                                "forget pending continuations"))
+                     "Number of outgoing, \
+still unanswered LSP requests to the server"))))))))
 
 (add-to-list 'mode-line-misc-info
              `(eglot--managed-mode (" [" eglot--mode-line-format "] ")))



reply via email to

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