From beab7dbf41a62e277831259cfe9e548b4bea31fb Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Wed, 4 Nov 2015 09:48:47 +0000 Subject: Cleanup the various trailing space removal hooks --- rc/python.kak | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'rc/python.kak') diff --git a/rc/python.kak b/rc/python.kak index 981137fd..4891f200 100644 --- a/rc/python.kak +++ b/rc/python.kak @@ -38,11 +38,8 @@ addhl -group /python/code regex \<(bool|buffer|bytearray|complex|dict|file|float # ‾‾‾‾‾‾‾‾ def -hidden _python_filter_around_selections %{ - eval -draft -itersel %{ - exec - # remove trailing white spaces - try %{ exec -draft s \h+$ d } - } + # remove trailing white spaces + try %{ exec -draft -itersel s \h+$ d } } def -hidden _python_indent_on_new_line %{ -- cgit v1.2.3