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

else: highlighting and erroneous numbers #19

Closed
wants to merge 1 commit into from

Conversation

Guerki
Copy link

@Guerki Guerki commented Jul 29, 2014

else: is now highlighted as a pythonConditional keyword and numbers followed by colons are no longer seen ass erroneous numbers, so conditionals can conform to PEP8, e.g. if x == 0:

@hdima
Copy link
Owner

hdima commented Dec 27, 2014

I think you have : as a part of iskeyword option (you can check it in Vim with :set iskeyword?).

For me if/else with the current python.vim looks like this:

else

And with : added to iskeyword option it looks like this:

else_bad

@hdima hdima closed this Dec 27, 2014
@hdima hdima mentioned this pull request Dec 27, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants