-
Notifications
You must be signed in to change notification settings - Fork 18
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
Not getting syntax highlighting on python file in ubuntu on WSL. #202
Comments
This is super weird. Can you copy / paste the output of |
Please re-open if you have more information on this @pacanukeha. |
hi @walles, I'm very sorry to ignore your question. It turns out that my notification emails have been going to a previous work email and they strangely haven't been helpful enough to forward. anyway – requested output below.
|
I do not appear to have the authority to Re-Open this issue. |
What about Then just quit immediately after the (not-highlighted) file shows up. Should print lots of debug information after you exit the pager, please post here what you get! |
here you go! some interesting lines in there.
|
Before this change, we just didn't highlight in this case. With this change in place, we now fall back on the default dark theme when background color detection fails. Fixes <#202>.
Just made a new release with the fix in it, thanks for reporting @pacanukeha! The fixed release should show up in Homebrew within an hour or so. |
Great, thanks! |
Using Ubuntu 22.04 on WSL, up-to-date.
Installed moar using
brew install moar
moar path/to/file.py
Expected:
python syntax is highlighted
Experienced:
python syntax is displayed but not highlighted
I thought there might be some sort of conflict with oh-my-posh as a terminal line decorator but I disabled that and it made no difference.
I tried manually installing Chroma from brew and it made no difference.
The text was updated successfully, but these errors were encountered: