]> git.eshelyaron.com Git - emacs.git/commit
Eglot: support multiple labels in same inlay hint
authorJoão Távora <joaotavora@gmail.com>
Mon, 27 Feb 2023 14:54:53 +0000 (14:54 +0000)
committerJoão Távora <joaotavora@gmail.com>
Mon, 27 Feb 2023 14:54:53 +0000 (14:54 +0000)
commitf601e9666d8b861712c09025711dc3a4261cb0ea
treec985503b05a8171b8e19f1e02503fdc357ac6a9a
parent4a5eda7ed2ae7567d0d54871cc51e0c2c27d73a9
Eglot: support multiple labels in same inlay hint

Mainly the rust-analyzer LSP server uses this.  There are still more
things we could support, like tooltips and stuff.

* lisp/progmodes/eglot.el (lsp-interface-alist): Add
InlayHintLabelPart.
(eglot--update-hints-1): Support multiple labels for same hint.
lisp/progmodes/eglot.el