Open fwcd opened 4 months ago
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.)
I’m currently blocked (or at least deeply hindered) from upgrading due to the semver breakage in https://github.com/tree-sitter/tree-sitter/issues/3487. While this is not your fault, it means I will need some time before this can be fixed. Sorry 😞
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:
func
is highlighted as a function identifier andguard
,if
,while
andsubscript
are not highlighted at allimport
to be highlighted as a keyword