Variable: eglot-mode-line-pending-requests
eglot-mode-line-pending-requests is a variable defined in eglot.el.gz.
Value
(:eval
(when-let*
((server (eglot-current-server))
(pending (jsonrpc-continuation-count server)))
(when (cl-plusp pending)
(eglot--mode-line-props (format "%d" pending) 'warning
'((mouse-3
eglot-forget-pending-continuations
"Forget pending continuations"))
"Number of outgoing, still unanswered LSP requests to the server\n"))))
Documentation
Eglot mode line construct for number of pending LSP requests.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/eglot.el.gz
(defconst eglot-mode-line-pending-requests
'(:eval (when-let* ((server (eglot-current-server))
(pending (jsonrpc-continuation-count server)))
(when (cl-plusp pending)
(eglot--mode-line-props
(format "%d" pending) 'warning
'((mouse-3 eglot-forget-pending-continuations
"Forget pending continuations"))
"Number of outgoing, \
still unanswered LSP requests to the server\n"))))
"Eglot mode line construct for number of pending LSP requests.")