Closed
Description
Test case: (*
represents cursor position)
def a():
b = 42
c = "asdf"
*
# random stuff
Pressing cc
with indentexpr=cindent(v:lnum)
gives the expected result:
def a():
b = 42
c = "asdf"
*
# random stuff
With indentexpr=GetPythonPEPIndent(v:lnum)
however, the cursor remains on column 1:
def a():
b = 42
c = "asdf"
*
# random stuff