Even when I open pure emacs -Q
and a python file in it:
|
- cursor
if smth:
| print("asd") # press TAB and cursor moves to "p" symbol, it's ok
if smth:
|print("asd") # press TAB and I get this:
if smth:
print("asd") # press TAB and I get prev step
So TAB
makes a cyclic change of indentation level. Which I absolutely don't want to.
If to use smart-tab
problem can be solved. But yasnippet
(yas-global-mode 1)
brings it again.
And that's where I can't find why.
If you had this problem (python+yasnippet+correct indent) - please give me a tip. Or just a link to a working config.
Latest Emacs (24.3.50.1)