Skip to content
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

Odd syntax highlighting on GitHub #414

Open
fwcd opened this issue May 7, 2024 · 3 comments
Open

Odd syntax highlighting on GitHub #414

fwcd opened this issue May 7, 2024 · 3 comments

Comments

@fwcd
Copy link

fwcd commented May 7, 2024

IIUC this is the grammar that GitHub currently uses for Swift syntax highlighting. If not, feel free to close this issue.

I have noticed a few odd things about the way Swift files are highlighted. For example:

@alex-pinkus
Copy link
Owner

I have highlight queries in this repo for import, while, if, and guard, so I’m not sure why this isn’t working. Perhaps @patrickt knows how highlight queries get mapped to styles on GitHub and can help here.

@patrickt
Copy link
Contributor

patrickt commented Jul 26, 2024

Hm, that’s weird. I’ll pull in the latest crate and see if that solves it. (Sorry for taking so long to reply, my GH inbox is so bad it qualifies for federal cleanup funding.)

@patrickt
Copy link
Contributor

I’m currently blocked (or at least deeply hindered) from upgrading due to the semver breakage in tree-sitter/tree-sitter#3487. While this is not your fault, it means I will need some time before this can be fixed. Sorry 😞

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants