Commit f8994527 authored by Fabián Ezequiel Gallina's avatar Fabián Ezequiel Gallina Committed by Fabián Ezequiel Gallina
Browse files

fixed last paren indentation logic

parent 65e4f764
......@@ -692,7 +692,7 @@ START is the buffer position where the sexp starts."
(or (save-excursion
(forward-comment 9999)
(skip-syntax-forward "\s" (line-end-position))
(when (and (looking-at (regexp-opt '(")" "]" "}")))
(not (forward-char 1))
(not (python-info-ppss-context 'paren)))
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