Closed ujihisa closed 13 years ago
報告ありがとうございます。
filetype が compound filetype だった場合、 .
で区切られたもののうち最も左のものを filetype として使用するように修正しました。
compound filetype が使われる場合、major.minor という風になってると思うので、それで問題ないはず。
というか、compound filetype、初めて知りました(汗
ばっちり動作しました!
compound filetypeはvimのhelpではっきりと言及されていないほど特殊なものなので使っていない人が多そうですが、実際に使ってみるとかなり便利な概念です。
compound filetype(*1) でたとえばruby.rspecなfiletypeのbufferで:Unite outlineすると下記のようなエラーになりました。
(はじめ下記が牡蠣と変換されてしまいました。こんな寒い日は牡蠣の入った鍋などを食べたいですね。こちら外気-8Cでございます。)
*1 http://whileimautomaton.net/2008/09/07213145