1. Randy Stauner
  2. vimrc

Commits

Randy Stauner  committed f8166d3

Recognize embedded _Vagrantfile as ruby

  • Participants
  • Parent commits 4c4324e
  • Branches master

Comments (0)

Files changed (1)

File filetype.vim

View file
 autocmd             BufRead *.cgi                                       if getline(1) =~ "/plackup" | setf perl | endif
 autocmd  BufNewFile,BufRead *.porklog                                   setf porklog
 autocmd  BufNewFile,BufRead *.rxml,*.rake,*.irbrc,.irbrc,.irb_history   setf ruby
-autocmd  BufNewFile,BufRead Vagrantfile                                 setf ruby
+autocmd  BufNewFile,BufRead Vagrantfile,_Vagrantfile                    setf ruby
 autocmd  BufNewFile,BufRead *.screenrc,.screenrc*                       setf screen
 
 " fake one, just color it a little bit