diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2013-09-12 16:17:03 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2013-09-12 16:17:03 +0200 |
commit | 01fe1500df97577452f755b526c09d8ed0c802ea (patch) | |
tree | 9e2e038630cc9e82abcd17da6dd3407a9b3bc62a /ftdetect/ruby.vim | |
parent | dce12af91b404835938e95de9e6d839d52487ed5 (diff) | |
download | vim-polyglot-01fe1500df97577452f755b526c09d8ed0c802ea.tar.gz vim-polyglot-01fe1500df97577452f755b526c09d8ed0c802ea.zip |
Add support for basic languages
coffee, cucumbeer, eruby, haml, haskell, javascript,
json, less, nginx, ocaml, ruby, sass, scss, slim,
stylus, textile, tmux
Diffstat (limited to 'ftdetect/ruby.vim')
-rw-r--r-- | ftdetect/ruby.vim | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/ftdetect/ruby.vim b/ftdetect/ruby.vim new file mode 100644 index 00000000..a4e9a6d9 --- /dev/null +++ b/ftdetect/ruby.vim @@ -0,0 +1,62 @@ +" Ruby +au BufNewFile,BufRead *.rb,*.rbw,*.gemspec set filetype=ruby + +" Ruby on Rails +au BufNewFile,BufRead *.builder,*.rxml,*.rjs set filetype=ruby + +" Rakefile +au BufNewFile,BufRead [rR]akefile,*.rake set filetype=ruby + +" Rantfile +au BufNewFile,BufRead [rR]antfile,*.rant set filetype=ruby + +" IRB config +au BufNewFile,BufRead .irbrc,irbrc set filetype=ruby + +" Pry config +au BufNewFile,BufRead .pryrc set filetype=ruby + +" Rackup +au BufNewFile,BufRead *.ru set filetype=ruby + +" Capistrano +au BufNewFile,BufRead Capfile set filetype=ruby + +" Bundler +au BufNewFile,BufRead Gemfile set filetype=ruby + +" Guard +au BufNewFile,BufRead Guardfile,.Guardfile set filetype=ruby + +" Chef +au BufNewFile,BufRead Cheffile set filetype=ruby +au BufNewFile,BufRead Berksfile set filetype=ruby + +" Vagrant +au BufNewFile,BufRead [vV]agrantfile set filetype=ruby + +" Autotest +au BufNewFile,BufRead .autotest set filetype=ruby + +" eRuby +au BufNewFile,BufRead *.erb,*.rhtml set filetype=eruby + +" Thor +au BufNewFile,BufRead [tT]horfile,*.thor set filetype=ruby + +" Rabl +au BufNewFile,BufRead *.rabl set filetype=ruby + +" Jbuilder +au BufNewFile,BufRead *.jbuilder set filetype=ruby + +" Puppet librarian +au BufNewFile,BufRead Puppetfile set filetype=ruby +" +" Buildr Buildfile +au BufNewFile,BufRead [Bb]uildfile set filetype=ruby + +" Appraisal +au BufNewFile,BufRead Appraisals set filetype=ruby + +" vim: nowrap sw=2 sts=2 ts=8 noet: |