From f0820bc83d946c4c4fb2537a92401eff66a7f39e Mon Sep 17 00:00:00 2001 From: Alex Leferry 2 Date: Tue, 27 Sep 2016 11:47:28 +0200 Subject: [PATCH] slight refactor in _fish_filter_around_selections command --- rc/base/fish.kak | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/rc/base/fish.kak b/rc/base/fish.kak index 1434124a..1ce6b0fc 100644 --- a/rc/base/fish.kak +++ b/rc/base/fish.kak @@ -34,8 +34,10 @@ addhl -group /fish/code regex \b(and|begin|bg|bind|block|break|breakpoint|builti # ‾‾‾‾‾‾‾‾ def -hidden _fish_filter_around_selections %{ - # remove trailing white spaces - try %{ exec -draft -itersel s\h+$d } + eval -draft -itersel %{ + # remove trailing white spaces + try %{ exec -draft s\h+$d } + } } def -hidden _fish_indent_on_char %{