Fix missing hook removal command in c-family.kak
This commit is contained in:
parent
f0285a8e60
commit
81118552c8
|
@ -248,6 +248,7 @@ hook global WinSetOption filetype=(c|cpp|objc) %[
|
||||||
try %{ # we might be switching from one c-family language to another
|
try %{ # we might be switching from one c-family language to another
|
||||||
remove-hooks window c-family-hooks
|
remove-hooks window c-family-hooks
|
||||||
remove-hooks window c-family-indent
|
remove-hooks window c-family-indent
|
||||||
|
remove-hooks window c-family-insert
|
||||||
}
|
}
|
||||||
|
|
||||||
hook -group c-family-indent window InsertEnd .* c-family-trim-autoindent
|
hook -group c-family-indent window InsertEnd .* c-family-trim-autoindent
|
||||||
|
|
Loading…
Reference in New Issue
Block a user