Skip to content

remove workaround for number literal hover with Zed editor #2290

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Techatrix
Copy link
Member

Zed now appears to be able to properly render markdown so there should be no need to keep the workaround that has been added in #2058. This workaround was also missing a newline after the back ticks at the start which causes the first row in the table to be missing. fixes #2289

The downside is that the render markdown version overflows on small numbers and behaves very weird when trying to select text from the table.

Screenshot_20250429_184556

Tested with Zed 0.181.5 on Linux
@xdBronch In case you wish to comment on this.

@xdBronch
Copy link
Contributor

i noticed this a little while ago but decided not to pr because of the overflowing and the issue is still open on the zed repo so im curious how/when this happened.

The downside is that the render markdown version overflows on small numbers

afaict it overflows on everything for binary, just might not be as easily noticed for some.

im not opposed to this i guess, id be lying if i said not being able to see the binary representation of int literals broke my workflow :p

@Techatrix
Copy link
Member Author

im curious how/when this happened.

Bisecting Zed versions showed that it's been fixed somewhere between 0.177.11 and 0.178.5. This led me to zed-industries/zed#25954

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Markdown tables in hovers should include headers
2 participants