Skip to content

Instantly share code, notes, and snippets.

@scarolan
Created June 14, 2013 14:01
Show Gist options
  • Star 14 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save scarolan/5782025 to your computer and use it in GitHub Desktop.
Save scarolan/5782025 to your computer and use it in GitHub Desktop.
Vim syntax highlighting for Vagrant. Drop this into $HOME/.vim/plugin/vagrant.vim to activate.
" Teach vim to syntax highlight Vagrantfile as ruby
"
" Install: $HOME/.vim/plugin/vagrant.vim
" Author: Brandon Philips <brandon@ifup.org>
augroup vagrant
au!
au BufRead,BufNewFile Vagrantfile set filetype=ruby
augroup END
@ipotseluev
Copy link

Thanks!

@caio-vinicius
Copy link

Thanks, good stuff!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment