fix(parser): color a temperature's name like a timer's in the TextMate grammar #249
No reviewers
Labels
No labels
bug
discussion
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
research
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gram-lang/gram!249
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/textmate-temperature-name"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The TextMate grammar colored a temperature's name (
ovenin^oven{180°C}) as a number (constant.numeric.temperature.gram). The name is a label for the heat source, like a timer's name, and the language server already gives both the same semantic token (walkTemperatureinsemantic-tokens.ts): the wrong color only showed where the server does not color, in Sublime or in VS Code before the server answers.support.type.temperature.gram, on the model ofsupport.type.timer.gram.@gram-lang/parserandgram-lang.854cfed), whose queries follow these scopes.After merging: merge
mainintodev/1.6, thenbun run buildand commit the regeneratedpackages/parser/syntaxes/gram.tmLanguage(the plist CI checks it).