Haskell-language-server: Bullet points in hover

Created on 1 Jun 2020  路  9Comments  路  Source: haskell/haskell-language-server

There's these funky bullet points in the hover request that render quite weirdly in VS code

image

I presume these aren't meant to be there? Or at least formatted differently

Most helpful comment

I've noticed them too, i think they come from the upstream ghcide/hls

All 9 comments

I've noticed them too, i think they come from the upstream ghcide/hls

unrendered, for reference:
2020-06-01-164159_481x188_scrot

I put them there. The default rendering of "* * *" in emacs-lsp is broken, it makes the hover window take up the entire width of the frame

Ah, I see now that these used to be horizontal rules. But I'm not even sure if VS code rendered them properly either in the first place: I just tested out * * * again and I'm getting this

image

Perhaps the ultimate horizontal rule is just a \n. But hopefully the clients will get around to fixing this at some point, at which we can maybe switch back. https://github.com/microsoft/vscode/issues/98982

well, if the bullet does not work, a newline is an option.

The HRs have been fixed in vscode now

Was this page helpful?
0 / 5 - 0 ratings