Skip to content

Conversation

@sebthom
Copy link
Member

@sebthom sebthom commented Dec 24, 2025

Themes in TextMate formats were matched against TM4E's encoded token type string instead of the token's TextMate scopes stack, so selectors like entity.other would not match entity.other.inherited-class.java and required TM4E-specific token types as a workaround.

Now tmTheme-style themes (json/yaml/plist/xml) match against the real scopes stack; CSS themes remain unchanged.

Fixes #983

`type` string instead of the token's TextMate scopes stack, so selectors
like `entity.other` would not match `entity.other.inherited-class.java`
and required TM4E-specific token types as a workaround.

Now tmTheme-style themes (json/yaml/plist/xml) match against the real
scopes stack; CSS themes remain unchanged.
@github-actions github-actions bot added the bug label Dec 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TM4E Grammar Processing and Syntax Coloring Divergence from TextMate

1 participant