]> git.eshelyaron.com Git - emacs.git/commit
Half-decent imenu support via textdocument/documentsymbol
authorJoão Távora <joaotavora@gmail.com>
Mon, 7 May 2018 22:43:03 +0000 (23:43 +0100)
committerJoão Távora <joaotavora@gmail.com>
Mon, 7 May 2018 22:46:17 +0000 (23:46 +0100)
commit6fd613042e32b14762e7dc2492e80603e51b90ae
tree4dbfec938df3f76ae5937226956a9bf0bbe4fbdc
parentfe01515f05c60b97f312b3b6b72c5540eb518107
Half-decent imenu support via textdocument/documentsymbol

* README.md: Update capability

* eglot.el (eglot--lsp-position-to-point): New function.
(eglot--managed-mode): Handle imenu-create-index-function.
(eglot--server-textDocument/publishDiagnostics): Use
eglot--lsp-position-to-point.
(eglot-imenu): New function.
(eglot--client-capabilities): Capable of documentSymbol.
lisp/progmodes/eglot.el