Skip to content

Instantly share code, notes, and snippets.

@boecklic
Created April 23, 2019 07:04
Show Gist options
  • Save boecklic/b92b26dc2b502a270c47d52f8ec7715a to your computer and use it in GitHub Desktop.
Save boecklic/b92b26dc2b502a270c47d52f8ec7715a to your computer and use it in GitHub Desktop.
vim syntax hightlighting for Vagrantfiles
" 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment