]> git.eshelyaron.com Git - emacs.git/commit
Format documentation in completion annotations
authorRicardo Martins <ricardo@scarybox.net>
Sun, 8 Jul 2018 16:02:32 +0000 (17:02 +0100)
committerJoão Távora <joaotavora@gmail.com>
Sun, 8 Jul 2018 23:29:29 +0000 (00:29 +0100)
commit6aeaf37c9b54abfba72eeca853255f16194accad
tree7ccbb4b2c87cbee4912fdc4722d8ba707d711945
parentd8a14e9ea84a7636f230ed4a9870b064f48d98fc
Format documentation in completion annotations

Fixes an issue with the latest RLS, where the server returns a plist
instead of a plain string as documentation for completion candidates,
which broke the `annotation-function`. This change was introduced by
https://github.com/rust-lang-nursery/rls/commit/206a9fb41e837333d0e67187a6a9fe24868b77a4

Copyright-paperwork-exempt: yes

* eglot.el (eglot-completion-at-point): Use eglot--format-markup
lisp/progmodes/eglot.el