Add mime-type check for Obj-C in case the user's file cmd supports it
This commit is contained in:
parent
d73fe2cc6d
commit
e540dc7f9e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user