Fix missing hook removal command in c-family.kak

This commit is contained in:
Maxime Coste 2017-06-07 12:44:00 +01:00
parent f0285a8e60
commit 81118552c8

View File

@ -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