Add mime-type check for Obj-C in case the user's file cmd supports it

This commit is contained in:
Jimmy Thrasher 2014-12-02 11:15:53 -05:00
parent d73fe2cc6d
commit e540dc7f9e

View File

@ -10,6 +10,10 @@ hook global BufCreate .*\.m %{
set buffer filetype objc set buffer filetype objc
} }
hook global BufSetOption mimetype=text/x-objc %{
set buffer filetype objc
}
def -hidden _c-family-indent-on-new-line %~ def -hidden _c-family-indent-on-new-line %~
eval -draft -itersel %_ eval -draft -itersel %_
# preserve previous line indent # preserve previous line indent