Skip to content

Commit

Permalink
Vimrc: *.rake are also ruby files.
Browse files Browse the repository at this point in the history
  • Loading branch information
kalbasit committed Nov 2, 2011
1 parent fea34cd commit c982069
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vimrc
Expand Up @@ -108,7 +108,7 @@ filetype plugin indent on " Turn on filetype plugins (:help filetype-plugin)
au FileType make set noexpandtab

" Set the Ruby filetype for a number of common Ruby files without .rb
au BufRead,BufNewFile {Gemfile,Rakefile,Vagrantfile,Thorfile,config.ru} set ft=ruby
au BufRead,BufNewFile {Gemfile,Rakefile,Vagrantfile,Thorfile,config.ru,*.rake} set ft=ruby

" Markdown and txt files should wrap
au BufRead,BufNewFile *.{md,markdown,mdown,mkd,mkdn,txt} call s:setupWrapping()
Expand Down

0 comments on commit c982069

Please sign in to comment.