Replies: 1 comment 3 replies
-
AFAIK this should work. I've done a quick test and syntax highlighting works in the PR diff. Are you able to reproduce this in a public repo so I can see it in action? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I’m not sure what category this belongs in.
I have a Pull Request in a private repo that makes some changes to a file with a
.bb
extension, for Babashka, a Clojure interpreter.The puzzling behavior I’m seeing is: when I navigate directly to the file (via a
blob
URL) the syntax is highlighted correctly. But in the PR diff, the syntax is not highlighted at all — it’s all one color, seems like black.I’m puzzled because I found the entry for Clojure in
languages.yml
and it does include the.bb
extension.Is this expected behavior?
If it matters, the file starts with:
Maybe there are some heuristics at play that look at the first line of the file to help inform what kind of
.bb
file it is? But if so, why would those heuristics work in one context but not the other?Beta Was this translation helpful? Give feedback.
All reactions