2011-11-08 17:27:17 +11:00
|
|
|
" Ruby
|
|
|
|
au BufNewFile,BufRead *.rb,*.rbw,*.gem,*.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
|
|
|
|
|
|
|
|
" IRB config
|
|
|
|
au BufNewFile,BufRead .irbrc,irbrc set filetype=ruby
|
|
|
|
|
|
|
|
" eRuby
|
|
|
|
au BufNewFile,BufRead *.erb,*.rhtml set filetype=eruby
|
|
|
|
|
|
|
|
" Thorfile
|
|
|
|
au BufNewFile,BufRead [tT]horfile,*.thor set filetype=ruby
|
|
|
|
|
|
|
|
" Gemfile
|
|
|
|
au BufNewFile,BufRead Gemfile set filetype=ruby
|
2019-08-29 10:07:39 +10:00
|
|
|
|
|
|
|
" Rackup
|
|
|
|
au BufNewFile,BufRead config.ru set filetype=ruby
|