You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to get syntax highlighting to work according to the new Readme section, but could not succeed. I think the problem is somewhere on my side but I can't figure it out.
@froth I was able to reproduce this issue with the provided example crate just a month ago, but now it's working... exact same miette version.
So I am wondering if this is somehow related to terminal color detection. Maybe either a bugfix in the supports-color crate resolved the issue or maybe my local terminal emulator patched something (I'm running Wezterm with tmux on Mac OS). Just throwing some ideas out there but nothing is confirmed at this point.
Which terminal emulators/multiplexers are you using when running this? Can you do a clean build (rm -rf target) on the example crate and verify that you are still having this issue?
I tried to get syntax highlighting to work according to the new Readme section, but could not succeed. I think the problem is somewhere on my side but I can't figure it out.
I created this minimal project https://github.com/froth/miette-highlighting/blob/main/src/main.rs and it does not highlight on my machine.
The same code is highlighted correctly using
cargo run --example syncat test.rs
in https://github.com/trishume/syntect/.The text was updated successfully, but these errors were encountered: