Skip to content

Commit 8b184cc

Browse files
author
Colin Deasy
committed
Don't force indentation to be 0 for lines not starting with whitespace
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.
1 parent 95c4190 commit 8b184cc

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

autoload/pymode/folding.vim

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,6 @@ fun! pymode#folding#expr(lnum) "{{{
133133
endif
134134
endif
135135

136-
if indent == 0
137-
return 0
138-
endif
139-
140136
return '='
141137

142138
endfunction "}}}

0 commit comments

Comments
 (0)