[GH-ISSUE #61] Coffee Syntax Upgrades #54

Closed
opened 2026-05-05 15:00:18 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @ccorcos on GitHub (Jul 21, 2015).
Original GitHub issue: https://github.com/awatson1978/meteor-api/issues/61

Hey, I don't have any idea how to build syntax highlighters, but it would be nice if the "Koffeescript (Meteor)" highlighter would highlight "and" "or" "not" "?" "is" "isn't"

Originally created by @ccorcos on GitHub (Jul 21, 2015). Original GitHub issue: https://github.com/awatson1978/meteor-api/issues/61 Hey, I don't have any idea how to build syntax highlighters, but it would be nice if the "Koffeescript (Meteor)" highlighter would highlight "and" "or" "not" "?" "is" "isn't"
Author
Owner

@awatson1978 commented on GitHub (Jul 21, 2015):

Hi. It's mostly a matter of writing regexes. Look in your ~/.atom/packages directory, and you should see the meteor-api package. Tinker with it a bit, and if you get something to work, drop me a line and I'll add it in!

<!-- gh-comment-id:123485249 --> @awatson1978 commented on GitHub (Jul 21, 2015): Hi. It's mostly a matter of writing regexes. Look in your `~/.atom/packages` directory, and you should see the `meteor-api` package. Tinker with it a bit, and if you get something to work, drop me a line and I'll add it in!
Author
Owner

@ccorcos commented on GitHub (Jul 21, 2015):

Hmm. So it seems that "keyword.operator.coffee" is what I'm looking for and my syntax highlighter doesnt color it. So this isn't an issue with this grammar (still figuring out how all this works).

I have a custom stylesheet though. Any ideas how I can somehow link the keyword.operator.coffee to color like a keyword.control.coffee?

<!-- gh-comment-id:123499172 --> @ccorcos commented on GitHub (Jul 21, 2015): Hmm. So it seems that "keyword.operator.coffee" is what I'm looking for and my syntax highlighter doesnt color it. So this isn't an issue with this grammar (still figuring out how all this works). I have a custom stylesheet though. Any ideas how I can somehow link the `keyword.operator.coffee` to color like a `keyword.control.coffee`?
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/meteor-api#54
No description provided.