You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to https://docs.python.org/2.5/ref/keywords.html, in (and the whole regex in|is|and|or|not) should be considered keywords in Python, but they get recognized as "word operators". On the other hand, the CoffeeScript lexer treats in as a keyword. Could they be made consistent? (I have a preference for keyword, but would be happy either way.)
Context: I'm formatting a bunch of side-by-side examples of CoffeeScript and Python and I noticed that for ... in renders the in part differently in CoffeeScript (as keyword) than in Python (as word). Example:
The text was updated successfully, but these errors were encountered:
According to https://docs.python.org/2.5/ref/keywords.html,
in
(and the whole regexin|is|and|or|not
) should be considered keywords in Python, but they get recognized as "word operators". On the other hand, the CoffeeScript lexer treatsin
as a keyword. Could they be made consistent? (I have a preference for keyword, but would be happy either way.)Context: I'm formatting a bunch of side-by-side examples of CoffeeScript and Python and I noticed that
for ... in
renders thein
part differently in CoffeeScript (as keyword) than in Python (as word). Example:The text was updated successfully, but these errors were encountered: