X Tutup
Skip to content

else: highlighting and erroneous numbers#19

Closed
Guerki wants to merge 1 commit intohdima:masterfrom
Guerki:master
Closed

else: highlighting and erroneous numbers#19
Guerki wants to merge 1 commit intohdima:masterfrom
Guerki:master

Conversation

@Guerki
Copy link
Copy Markdown

@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
Copy Markdown
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

X Tutup