From c853e3a50272f4aaf11eb1ff00b4cf8ae86a7737 Mon Sep 17 00:00:00 2001 From: Alex Leferry 2 Date: Tue, 27 Sep 2016 11:48:46 +0200 Subject: [PATCH] disable hooks --- rc/base/fish.kak | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rc/base/fish.kak b/rc/base/fish.kak index 1ce6b0fc..d6200461 100644 --- a/rc/base/fish.kak +++ b/rc/base/fish.kak @@ -34,21 +34,21 @@ addhl -group /fish/code regex \b(and|begin|bg|bind|block|break|breakpoint|builti # ‾‾‾‾‾‾‾‾ def -hidden _fish_filter_around_selections %{ - eval -draft -itersel %{ + eval -no-hooks -draft -itersel %{ # remove trailing white spaces try %{ exec -draft s\h+$d } } } def -hidden _fish_indent_on_char %{ - eval -draft -itersel %{ + eval -no-hooks -draft -itersel %{ # deindent on (else|end) command insertion try %{ exec -draft w(else|end) } } } def -hidden _fish_indent_on_new_line %{ - eval -draft -itersel %{ + eval -no-hooks -draft -itersel %{ # preserve previous line indent try %{ exec -draft K } # filter previous line