From 13ab721f64a0f681515eb4301db3bbe371220c20 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Thu, 5 May 2016 13:50:49 +0100 Subject: [PATCH] python.kak: restore cleaning up trailing whitespaces on newline --- rc/core/python.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/core/python.kak b/rc/core/python.kak index 7172440b..5fa07d0f 100644 --- a/rc/core/python.kak +++ b/rc/core/python.kak @@ -58,7 +58,7 @@ def -hidden _python_indent_on_new_line %{ # preserve previous line indent try %{ exec -draft K } # filter previous line - try %{ exec -draft k : _python_filter_around_selections } + try %{ exec -draft k s \h+$ d } # copy '#' comment prefix and following white spaces try %{ exec -draft k x s ^\h*\K#\h* y j p } # indent after :