From 81118552c882082413486416b517ba2275c40405 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Wed, 7 Jun 2017 12:44:00 +0100 Subject: [PATCH] Fix missing hook removal command in c-family.kak --- rc/core/c-family.kak | 1 + 1 file changed, 1 insertion(+) diff --git a/rc/core/c-family.kak b/rc/core/c-family.kak index 2c7cb07e..2f9ab31f 100644 --- a/rc/core/c-family.kak +++ b/rc/core/c-family.kak @@ -248,6 +248,7 @@ hook global WinSetOption filetype=(c|cpp|objc) %[ try %{ # we might be switching from one c-family language to another remove-hooks window c-family-hooks remove-hooks window c-family-indent + remove-hooks window c-family-insert } hook -group c-family-indent window InsertEnd .* c-family-trim-autoindent