Permalink
Browse files

Setup mustache file autodetection based on https://gist.github.com/32…

  • Loading branch information...
1 parent 22f9639 commit 43dc9d5252d562358986bb341a97582ee89b0d09 @myronmarston myronmarston committed Jan 6, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 Rakefile
View
@@ -196,6 +196,9 @@ vim_plugin_task "molokai" do
end
vim_plugin_task "mustache" do
sh "curl https://github.com/defunkt/mustache/raw/master/contrib/mustache.vim > syntax/mustache.vim"
+ File.open(File.expand_path('../ftdetect/mustache.vim', __FILE__), 'w') do |file|
+ file << "au BufNewFile,BufRead *.mustache setf mustache"
+ end
end
vim_plugin_task "vwilight" do
sh "curl https://gist.github.com/raw/796172/724c7ca237a7f6b8d857c4ac2991cfe5ffb18087/vwilight.vim > colors/vwilight.vim"

0 comments on commit 43dc9d5

Please sign in to comment.