-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 fix markdown formatting for hover lsp #175
Conversation
Thanks @AucaCoyan! I had 2 thoughts myself on this.
I guess it knows the language by the file type you have loaded maybe? Nice work! |
Yeah, I followed up those same steps, when 1st didn't solved the problem, I checked that |
I know this is merged, but I'm getting this on my machine (Windows) - and have been for a while - is there a fix? |
@AucaCoyan was going to look into it last we talked. I assume he just hasn't got around to it yet. |
Hello! I tried some simple stuff, like removing the 3 backticks (`) from the ide hover and it didn't solved the problem. From there, I didn't had the chance to investigate further |
Do we know what actually broke it / which release it broke for? |
Someone may have to do a |
Yep, I can do that the next time I sit with that problem. I will make time this weekend 😄 |
Hi, I wandered around for a bit and found out that when the server returns a hover, you have to inform the client which type of
plaintext | markdown
you are returning.So, instead of
it should be
(note that both key and value changed)
and you get the result 😄
By removing the
language: nushell
key, it defeats me how vscode knows that the code block (```) parts of the hover are in nushell syntax, because that is not written in the raw hover string 🧠 .I hope this doesn't break any other editor that doesn't have markdown syntax!