]> git.eshelyaron.com Git - emacs.git/commit
Reasonable textdocument/documenthighlight support
authorJoão Távora <joaotavora@gmail.com>
Tue, 8 May 2018 10:38:02 +0000 (11:38 +0100)
committerJoão Távora <joaotavora@gmail.com>
Tue, 8 May 2018 13:29:29 +0000 (14:29 +0100)
commit3d3c12faf230e63e1468a5283cfad28abef07649
treed9c263cd2f6519abef27b490668542e713733d9a
parentdbe81138d6711aa7f6f02dda8ca644a92bdaea47
Reasonable textdocument/documenthighlight support

* README.md: Update.

* eglot.el (eglot--current-buffer-TextDocumentPositionParams): New
helper.
(xref-backend-identifier-completion-table): Refactor a bit.
(xref-backend-identifier-at-point): Use when-let and
eglot--current-buffer-TextDocumentPositionParams
(xref-backend-definitions, xref-backend-references): Refactor a
bit.
(eglot-completion-at-point): Use
eglot--current-buffer-TextDocumentPositionParams
(eglot-eldoc-function): Rewrite to handle
textDocument/documentHighlight.
(eglot--highlights): New variable.
(eglot--client-capabilities): Update with support for documentHighlight.
lisp/progmodes/eglot.el