Skip to content

Commit

Permalink
Setup mustache file autodetection based on https://gist.github.com/32…
Browse files Browse the repository at this point in the history
  • Loading branch information
myronmarston committed Feb 8, 2011
1 parent 22f9639 commit 43dc9d5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Rakefile
Expand Up @@ -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"
Expand Down

0 comments on commit 43dc9d5

Please sign in to comment.