emacs-lsp / lsp-ui

UI integrations for lsp-mode
https://emacs-lsp.github.io/lsp-ui
GNU General Public License v3.0
1.03k stars 141 forks source link

Another lsp-ui-doc markdown issue (lists) #766

Open braoult opened 3 months ago

braoult commented 3 months ago

lsp-ui-doc is "sometimes" forgetting new-lines for lists.

In screenshot below, there are two lists, the first one does not have newlines, the second is correctly displayed.

EDIT: Restarting Emacs did fix the issue. Closing until I can reproduce.

lsp-ui-markdown-lists-issue

braoult commented 3 months ago

Closing until I can reproduce the issue.

braoult commented 3 months ago

It is more complicated than I thought. In fact, before restarted, I changed lsp-ui-doc-enhanced-markdown to nil. The lists were correctly displayed, but Emacs did freeze when displaying the doc.

Restarting with lsp-ui-doc-enhanced-markdown to t comes back to the incorrect list display, but no freeze.

Any other test I could do to help ?