Commit 9787f829 authored by Fabián Ezequiel Gallina's avatar Fabián Ezequiel Gallina Committed by Fabián Ezequiel Gallina

Indentation enhancements on after-backslash

Multiline sentences beginning with "import", "from" or "return" are
indented correctly now.
parent f8994527
......@@ -681,14 +681,15 @@ START is the buffer position where the sexp starts."
(goto-char context-start)
(if (not (member
(message (current-word)))
'("return" "import" "from")))
(if (not
(+ (current-indentation)
(match-string-no-properties 0))))))))
(or (save-excursion
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