language-python icon indicating copy to clipboard operation
language-python copied to clipboard

Incorrect indentation after `return`

Open kbrose opened this issue 8 years ago • 2 comments

https://github.com/atom/language-python/pull/212 results in incorrect indentation after every return and similar statements:

def f(x):
    return x
    |#cursor is here>

Other statements where indentation is known to need to decrease include pass yield continue break raise

kbrose avatar Oct 18 '17 07:10 kbrose

https://atom.io/packages/python-indent correct it

fmabille avatar Nov 27 '17 15:11 fmabille

@fmabille IDK what you're trying to say...?

kbrose avatar Nov 30 '17 17:11 kbrose