-
Notifications
You must be signed in to change notification settings - Fork 43
Lspsaga hover_doc
displays weird \
s
#90
Comments
Yah, I noticed that with one other server I forgot about. I believe it should be an easy fix, hopefully soon, but by all mean a pr is welcomed |
Thank you, but I would prefer the Lspsaga team to fix it. |
This seems can be fixed by changing the syntax type of the hover window from Or maybe we could just reuse |
some stuff in lsp core is inspired by Lspsaga . 🤔 lsp_markdown makes sense to use as users may have bunch of autocmd tied with markdown filetype like I do. I'm with making and reusing our own thing, so that in the future we will have the flexibility of adding features. @againxx with the above mentioned, feel free to choice whatever makes more sense to you |
I'm right now looking into and I guess @glepnir copied it over and made few adjustments, I'm experimenting with new version right now |
Description
Lspsaga's hover doc command doesn't escape some characters properly.
Expected Behavior
It escapes the characters properly.
Actual Behavior
As you can see lot of
\
are present in the hover doc. This is a screenshot of:Lspsaga hover_doc
Neovim Built in Behavior
This is
vim.lsp.buf.hover()
, it escapes the characters properly.Details
Reproduce
Lspsaga hover_doc
andvim.lsp.buf.hover()
Environment
The text was updated successfully, but these errors were encountered: