diff --git a/rc/c-family.kak b/rc/c-family.kak index 45fd0333..25f84833 100644 --- a/rc/c-family.kak +++ b/rc/c-family.kak @@ -10,6 +10,10 @@ hook global BufCreate .*\.m %{ set buffer filetype objc } +hook global BufSetOption mimetype=text/x-objc %{ + set buffer filetype objc +} + def -hidden _c-family-indent-on-new-line %~ eval -draft -itersel %_ # preserve previous line indent