From 93c308ca53c257e087129ec6dd8611812a7fc82e Mon Sep 17 00:00:00 2001 From: Olivier Perret Date: Sun, 2 Dec 2018 13:18:29 +0100 Subject: [PATCH] Fixes to d.kak and moon.kak --- rc/base/d.kak | 2 +- rc/extra/moon.kak | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rc/base/d.kak b/rc/base/d.kak index a611d1ef..c8d523f0 100644 --- a/rc/base/d.kak +++ b/rc/base/d.kak @@ -128,5 +128,5 @@ hook global WinSetOption filetype=d %{ hook window InsertChar \{ -group d-indent d-indent-on-opening-curly-brace hook window InsertChar \} -group d-indent d-indent-on-closing-curly-brace - hook -once -always window WinSetOptionfiletype=(?!d).* %{ remove-hooks window d-.+ } + hook -once -always window WinSetOption filetype=(?!d).* %{ remove-hooks window d-.+ } } diff --git a/rc/extra/moon.kak b/rc/extra/moon.kak index e8e12b6c..ffcc24cf 100644 --- a/rc/extra/moon.kak +++ b/rc/extra/moon.kak @@ -100,7 +100,7 @@ hook global WinSetOption filetype=moon %{ alias window alt moon-alternative-file - hook global WinSetOption filetype=(?!moon).* %{ + hook -once -always window WinSetOption filetype=(?!moon).* %{ remove-hooks window moon-.+ unalias window alt moon-alternative-file }