Skip to content
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

Wrong markdown rendering with clangd #808

Closed
aodhneine opened this issue Oct 4, 2021 · 2 comments
Closed

Wrong markdown rendering with clangd #808

aodhneine opened this issue Oct 4, 2021 · 2 comments
Labels
A-language-server Area: Language server client C-bug Category: This is a bug

Comments

@aodhneine
Copy link

Version: latest master.

When using the "hover" functionality of LSP under clangd, the markdown is being rendered improperly:

grim_1633335019

The line breaks are missing, and text is rendered in wrong places (parameters inside the function sigature, for example.)

This is how kakoune renders the documentation for that function, which is also the expected behaviour:

grim_1633335031

Note that the same issue doesn't occur with other languages, such as Rust:

grim_1633335237

This could be a bug in clangd though... not sure as I'm not familiar with the codebase of helix, so can't really check it. Possibly related to clangd/clangd#95?

@kirawi kirawi added A-language-server Area: Language server client C-bug Category: This is a bug labels Oct 4, 2021
@archseer
Copy link
Member

archseer commented Oct 5, 2021

The parameter list is probably missing because we don't handle bullet lists, logs should be able to tell you more:

For the missing line breaks I'll have to do some testing.

@gabydd
Copy link
Member

gabydd commented Dec 16, 2022

this seems to have been fixed, I think in: #2687

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-language-server Area: Language server client C-bug Category: This is a bug
Projects
None yet
Development

No branches or pull requests

5 participants