1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-27 12:16:22 +03:00

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