]> git.eshelyaron.com Git - emacs.git/commit
New command m-x eglot-code-actions
authorJoão Távora <joaotavora@gmail.com>
Fri, 1 Jun 2018 15:59:00 +0000 (16:59 +0100)
committerJoão Távora <joaotavora@gmail.com>
Fri, 1 Jun 2018 16:12:25 +0000 (17:12 +0100)
commit0e3d15f51c0a06751441c9392db0676a25ddf968
treeab374cb62374cfbde80f05583276a276054117e0
parent5a8d94c76834d510a86e35588113c38355204068
New command m-x eglot-code-actions

Also available when left-clicking diagnostics.

* README.md: Mention eglot-code-actions. Slightly rewrite
differences to lsp-mode.

* eglot.el (eglot-code-actions): New command.
(eglot-handle-notification :textDocument/publishDiagnostics): Use
eglot--make-diag and eglot--overlay-diag-props.
(eglot--mode-line-props): Use eglot--mouse-call.
(eglot--mouse-call): Renamed from eglot--mode-line-call.
(eglot-client-capabilities): List :executeCommand and :codeAction
as capabilities.
(eglot--diag, advice-add flymake--highlight-line): Horrible hack.
(eglot--overlay-diag-props): Horrible hack.
lisp/progmodes/eglot.el