]> git.eshelyaron.com Git - emacs.git/commit
Use eglot--dbind and eglot--lambda throughout
authorJoão Távora <joaotavora@gmail.com>
Wed, 5 Dec 2018 19:54:55 +0000 (19:54 +0000)
committerJoão Távora <joaotavora@gmail.com>
Thu, 6 Dec 2018 16:28:39 +0000 (16:28 +0000)
commit30ab4e3eedd0ca08e7d4d8ad5c303f58c40e9228
tree4f389b9f92721b9de83b7e22f6664c11658d892a
parent0918c9d1a585f8c86bdd13c39704240b3ab81fc9
Use eglot--dbind and eglot--lambda throughout

The default behaviour of these macros is to be lenient towards servers
sending unknown keys, which should fix the issue.

* eglot.el (eglot--lsp-interface-alist): Add a bunch of new interfaces.
(eglot--connect, eglot-handle-notification)
(xref-backend-identifier-completion-table)
(xref-backend-definitions, xref-backend-apropos)
(xref-backend-references, eglot-completion-at-point)
(eglot--sig-info, eglot-help-at-point, eglot-eldoc-function)
(eglot-imenu, eglot--apply-text-edits)
(eglot--apply-workspace-edit)
(eglot--register-workspace/didChangeWatchedFiles): Use
eglot--dbind and eglot--lambda to destructure LSP objects.

GitHub-reference: fix https://github.com/joaotavora/eglot/issues/144
lisp/progmodes/eglot.el