Closed Guerki closed 9 years ago
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:
And with :
added to iskeyword
option it looks like this:
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: