Fix python indent for lines ending with colon

This commit is contained in:
Maxim Baz 2018-07-08 18:21:01 +02:00
parent 2659912220
commit 26bc173631
No known key found for this signature in database
GPG Key ID: 011FDC52DA839335

View File

@ -128,7 +128,7 @@ define-command -hidden python-indent-on-new-line %{
# cleanup trailing whitespaces from previous line # cleanup trailing whitespaces from previous line
try %{ execute-keys -draft k <a-x> s \h+$ <ret> d } try %{ execute-keys -draft k <a-x> s \h+$ <ret> d }
# indent after line ending with : # indent after line ending with :
try %{ execute-keys -draft <space> k x <a-k> :$ <ret> j <a-gt> } try %{ execute-keys -draft <space> k <a-x> <a-k> :$ <ret> j <a-gt> }
} }
} }