Commit 0d471619 authored by Guido van Rossum's avatar Guido van Rossum

Fix by Sjoerd so nested indents also work if the open paren is on a

line containing tabs
parent d3976e20
......@@ -522,8 +522,7 @@ the new line indented."
(if nest
(save-excursion
(goto-char nest)
(beginning-of-line)
(1+ (- nest (point))))
(1+ (current-column)))
(forward-line -1)
(if (py-continuation-line-p) ; on at least 3rd line in block
(current-indentation) ; so just continue the pattern
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment