Skip to content

check for linguist compatibility in CI#7

Merged
filipw merged 1 commit into
mainfrom
linguist
Jul 16, 2026
Merged

check for linguist compatibility in CI#7
filipw merged 1 commit into
mainfrom
linguist

Conversation

@filipw

@filipw filipw commented Jul 16, 2026

Copy link
Copy Markdown
Member

Ensures compatibility with https://github.com/github-linguist/linguist

This isn't invalid per the TextMate grammar spec - it's a constraint of the classic PCRE library that GitHub Linguist/github.com use to validate and render grammars. PCRE requires lookbehind assertions to have a fixed length, while Oniguruma (used by VS Code/Sublime) does not have this restriction, which is why this only breaks GitHub.com highlighting.

@filipw
filipw merged commit 345f2f0 into main Jul 16, 2026
4 checks passed
@filipw
filipw deleted the linguist branch July 16, 2026 17:00
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

Successfully merging this pull request may close these issues.

1 participant