]> git.eshelyaron.com Git - emacs.git/commit
Eglot: don't send invisible text to Eldoc
authorJoão Távora <joaotavora@gmail.com>
Thu, 23 Mar 2023 17:34:46 +0000 (17:34 +0000)
committerJoão Távora <joaotavora@gmail.com>
Thu, 23 Mar 2023 21:14:21 +0000 (21:14 +0000)
commitfe8af4eb30b81d34bea3f3d982a9167acc8e19e1
tree7dc6987331ce1d402e7a3bb9ad47bfca4df29cc0
parent67c1e6e89cea426e77e7a844376a38a4e7b2ec46
Eglot: don't send invisible text to Eldoc

Eglot's rendering of Markdown is imperfect and based on gfm-view-mode.
To make it slightly better, don't send invisible text in
eglot-hover-eldoc-function.

* lisp/progmodes/eglot.el (eglot--format-markup): Hide invisible text.
lisp/progmodes/eglot.el