forked from vim-ruby/vim-ruby
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
15 additions
and
7 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,14 @@ | ||
" Ruby | ||
au BufNewFile,BufRead *.rb,*.rbw,*.rjs,*.rxml,*.gem,*.gemspec set filetype=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* set filetype=ruby | ||
au BufNewFile,BufRead [rR]akefile,*.rake set filetype=ruby | ||
|
||
" Rantfile | ||
au BufNewFile,BufRead [rR]antfile,*.rant set filetype=ruby | ||
au BufNewFile,BufRead [rR]antfile,*.rant set filetype=ruby | ||
|
||
" eRuby | ||
au BufNewFile,BufRead *.erb,*.rhtml set filetype=eruby | ||
au BufNewFile,BufRead *.erb,*.rhtml set filetype=eruby |
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