Skip to content

Commit

Permalink
Add tooltip describing pending requests
Browse files Browse the repository at this point in the history
* eglot.el (eglot--mode-line-format): Add tooltip to `pending'.

GitHub-reference: per joaotavora/eglot#784
  • Loading branch information
nemethf authored Jan 10, 2022
1 parent 66e8d30 commit fde3892
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lisp/progmodes/eglot.el
Original file line number Diff line number Diff line change
Expand Up @@ -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 "] ")))
Expand Down

0 comments on commit fde3892

Please sign in to comment.