syl20bnr/spacemacs — pull request #126 by danielwuz (2014-11-17 12:19:07+00:00)
Title: bug fix: electric-indent-mode causes incorrent indentation when adding c...

...omma after if statement

I'd like to keep `electric-indent-mode` off for editing python files so that I can control exact indentation without surprise.

example of this bug would be:
```
while temp and temp.val != value:
if temp.val > value:
temp = temp.left
else:
temp = temp.right

if not temp|
```
with `electric-indent-mode` on, typing `:` at cursor will cause last `if` statement indented to within `while` statement, which is not always desired.