Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

from and as keywords are always matched as in from ... import ... as ... #18

Open
FichteFoll opened this issue Sep 3, 2014 · 1 comment
Labels

Comments

@FichteFoll
Copy link

I only noticed this because my color scheme apparently defines a different color for keyword.control.import.

The issue is that the keywords from and as are always matched as the above, even though there are other statements where they are used:

2014-09-03_05 53 55

Not a huge issue, but wanted to report it anyway. Should be that hard to fix either.

See also: sublimehq/sublime_text#459

@FichteFoll FichteFoll changed the title from and as keywords are always matched as in from ... import from and as keywords are always matched as in from ... import ... as ... Sep 3, 2014
@MattDMo MattDMo added the bug label Sep 3, 2014
@FichteFoll
Copy link
Author

Same issue with any('*' in p for p in includes). The second in is highlighted as a logical operator but it's in fact a keyword.

I don't think regular ins are allowed in the right side of for since it must probably be a namelist, so that shouldn't be too hard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants