Skip to content

Commit

Permalink
Set filetype for Gemfile
Browse files Browse the repository at this point in the history
  • Loading branch information
tpope committed Aug 25, 2011
1 parent c3270f9 commit 08104a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugin/bundler.vim
Expand Up @@ -124,6 +124,7 @@ endfunction

augroup bundler_syntax
autocmd!
autocmd BufNewFile,BufReadPost Gemfile set filetype=ruby
autocmd Syntax ruby if expand('<afile>:t') ==? 'gemfile' | call s:syntaxfile() | endif
autocmd BufNewFile,BufRead [Gg]emfile.lock setf gemfilelock
autocmd FileType gemfilelock set suffixesadd=.rb
Expand Down

0 comments on commit 08104a3

Please sign in to comment.