Created
December 15, 2010 14:44
-
-
Save tylerhunt/742016 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Vim filetype detection file | |
" Language: Ruby | |
" Maintainer: Tyler Hunt <tyler@tylerhunt.com> | |
" Version: 1 | |
" Last Change: 2010 May 26 | |
" | |
augroup ruby | |
" Ruby metafiles | |
au! BufRead,BufNewFile Gemfile setfiletype ruby | |
au! BufRead,BufNewFile config.ru setfiletype ruby | |
au! BufRead,BufNewFile .autotest setfiletype ruby | |
" Rails templates | |
au! BufRead,BufNewFile *.erb setfiletype eruby | |
au! BufRead,BufNewFile *.js.erb setfiletype javascript | |
au! BufRead,BufNewFile *.pdf.prawn setfiletype ruby | |
augroup END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment