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