]> git.eshelyaron.com Git - emacs.git/commit
Introduce eglot-handle-request and eglot-handle-notification as api
authorJoão Távora <joaotavora@gmail.com>
Mon, 21 May 2018 08:00:49 +0000 (09:00 +0100)
committerJoão Távora <joaotavora@gmail.com>
Mon, 21 May 2018 08:00:49 +0000 (09:00 +0100)
commit7938af0c4a4b084b9eb29505ddeea78ae39d208d
tree7cf7aefb1ceb4dc8f0885d117a1ef02b0681fb3f
parent28b199c3448104161aa93ea0ec0732c367421c54
Introduce eglot-handle-request and eglot-handle-notification as api

* eglot.el (eglot--process-receive): Call eglot-handle-request and
eglot-handle-notification.
(eglot-handle-notification, eglot-handle-request): New generic
functions.
(eglot--server-window/showMessage)
(eglot--server-window/progress)
(eglot--server-telemetry/event, eglot--server-window/logMessage):
Convert to eglot-handle-notification.
(eglot-handle-request, eglot--server-client/registerCapability)
(eglot--server-client/unregisterCapability)
(eglot-handle-request): Convert to eglot-handle-request.
lisp/progmodes/eglot.el