zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
50.72k stars 3.14k forks source link

`.` breaks bold markup in Markdown files #5217

Open JosephTLyons opened 2 years ago

JosephTLyons commented 2 years ago

Check for existing issues

Describe the bug

Adding a . to the end of some text with a bold block causes the syntax highlighting to skip the leading and trailing *. I'm not sure if this is a problem with the Tree Sitter package or the way Zed is handling it. I'll move this to the Tree Sitter package's issues, if that's the case.

To reproduce

-

Expected behavior

-

Environment

Zed 0.53.1 – /Applications/Zed.app macOS 12.4 architecture x86_64

If applicable, add mockups / screenshots to help explain present your vision of the feature

https://user-images.githubusercontent.com/19867440/190945276-82b6c081-9a2b-49e0-b250-953963e1273a.mov

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue

No response

slymax commented 8 months ago

for posterity since #9464 has been closed, the same issue occurs with colons:

Bildschirmfoto 2024-03-18 um 11 42 46
brandondrew commented 5 months ago

I just tested in Zed 0.141.2 and this is no longer happening. I think this issue can be closed.

brandondrew commented 5 months ago

(Both colons and periods work.)

uncenter commented 1 week ago

I can also not reproduce this bug on Zed 0.160.7.