Skip to content

Commit

Permalink
Don't force indentation to be 0 for lines not starting with whitespace
Browse files Browse the repository at this point in the history
Some docstrings/code parts use line continuation with zero whitespace on the
following line. In this case we should accept the previous lines indentation
instead of forcing the indentation to be zero.
  • Loading branch information
Colin Deasy committed Jan 13, 2015
1 parent 95c4190 commit 8b184cc
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions autoload/pymode/folding.vim
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,6 @@ fun! pymode#folding#expr(lnum) "{{{
endif
endif

if indent == 0
return 0
endif

return '='

endfunction "}}}
Expand Down

0 comments on commit 8b184cc

Please sign in to comment.