]> git.eshelyaron.com Git - emacs.git/commit
Correctly map documentsymbol's :kind to its name ()
authorMichal Krzywkowski <k.michal@zoho.com>
Mon, 24 Sep 2018 12:24:19 +0000 (14:24 +0200)
committerJoão Távora <joaotavora@gmail.com>
Mon, 24 Sep 2018 12:24:19 +0000 (13:24 +0100)
commit72eae8b7de1d7c7257748f48ec960481f6223eef
treef578d59970634d59d917f01f5c90136297b83c75
parent169360c2570c31bd3dcf8d32b754cd15ca51d3e4
Correctly map documentsymbol's :kind to its name ()

Previously we were mapping :kind in DocumentSymbol with
names from the CompletionItemKind enum, whereas we should
have used the SymbolKind enum.

* eglot.el (eglot--symbol-kind-names): New variable.
(eglot-imenu): Use it instead of eglot--kind-names.

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