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
47.84k stars 2.8k forks source link

Internal bash language support is not available under linux #17616

Open anikinmd opened 3 weeks ago

anikinmd commented 3 weeks ago

Check for existing issues

Describe the bug / provide steps to reproduce it

When opening a bash script with zed under Linux, there is no syntax highlight and the Language is "Unknown" The same file works under Mac OS.

Environment

Zed: v0.151.2 (Zed) OS: Linux Wayland fedora 39 Memory: 15.2 GiB Architecture: x86_64 GPU: Intel(R) Xe Graphics (TGL GT2) || Intel open-source Mesa driver || Mesa 23.3.6

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

No response

If applicable, attach your Zed.log file to this issue.

Zed.log


anikinmd commented 3 weeks ago

After a little bit of debugging: On a fresh system bash syntax highlighting works as expected. If I install "basher" extension and then uninstall it, the native bash syntax highlight will not go back Sounds more like a Zed issue than a basher issue.