Closed janko closed 10 years ago
It's intended behavior:
I can see your reasoning, but consider this example: https://github.com/kyrylo/pry-theme/issues/30 (the project depends on CodeRay).
Particularly, the class
key is considered as a keyword.
{
foo: 1,
class: 2
}
By the way, GitHub sees it as a symbol.
Particularly, the class key is considered as a keyword.
Not since 1.1, this was fixed in #126.
By the way, GitHub sees it as a symbol.
GitHub uses Pygments; it's an awesome highlighter written in Python, and the team is great, but it is not a Ruby reference ;-) VIM, for example, uses the same style as CodeRay; TextMate uses the GitHub style.