]> git.eshelyaron.com Git - emacs.git/commit
Report server status in the mode-line
authorJoão Távora <joaotavora@gmail.com>
Tue, 1 May 2018 22:13:49 +0000 (23:13 +0100)
committerJoão Távora <joaotavora@gmail.com>
Wed, 2 May 2018 14:50:17 +0000 (15:50 +0100)
commit235574be1574d9857c24aed97685dec49a2dbed5
treed1769ca6c20edc7e6db63479a8c7bd778777d876
parentc170dbedf8147a0bc75b0f22c7a2ef52f8611872
Report server status in the mode-line

* eglot.el (eglot--status): New var.
(eglot--log-event): Try to be more useful for other stuff.
(eglot--protocol-initialize): Set status to nil on
successful connect.
(eglot--window/showMessage): Set status to error if needed.
(eglot--mode-line-format): Display status if serious.
lisp/progmodes/eglot.el