]> git.eshelyaron.com Git - emacs.git/commit
Half-decent xref support
authorJoão Távora <joaotavora@gmail.com>
Sat, 5 May 2018 10:26:12 +0000 (11:26 +0100)
committerJoão Távora <joaotavora@gmail.com>
Sun, 6 May 2018 23:55:33 +0000 (00:55 +0100)
commitf23a8e8486ad8bbe5f1743571106673fd9d25140
treed3dfaec8a2729de9a1849f5d9b14a8dce745a926
parentbdd5f6961839c073713d6c2a184260acbe5696ce
Half-decent xref support

* eglot.el
(eglot--xref-known-symbols): New hacky var.
(eglot--xref-reset-known-symbols): New helper.
(xref-find-definitions, xref-find-references): Advise after to
call the new helper.
(xref-backend-identifier-completion-table): Rework.
(eglot--xref-make): New helper.
(xref-backend-definitions): Use it.
(xref-backend-references, xref-backend-apropos): Implement.
(eglot--obj): Add a debug spec.
(eglot--lambda): Add debug spec.
lisp/progmodes/eglot.el