From b6a6183d4598641ea2524c2c592bc976c6331621 Mon Sep 17 00:00:00 2001 From: Brandon Philips Date: Sat, 1 Jan 2011 10:17:22 -0800 Subject: [PATCH] contrib: Teach vim to treat Vagrantfile as ruby Install into $HOME/.vim/plugin/vagrantfile.vim Signed-off-by: Brandon Philips --- contrib/vim/vagrantfile.vim | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 contrib/vim/vagrantfile.vim diff --git a/contrib/vim/vagrantfile.vim b/contrib/vim/vagrantfile.vim new file mode 100644 index 000000000..43994a00a --- /dev/null +++ b/contrib/vim/vagrantfile.vim @@ -0,0 +1,10 @@ +" Teach vim to syntax highlight Vagrantfile as ruby +" +" Install: $HOME/.vim/plugin/vagrant.vim +" Author: Brandon Philips + +augroup vagrant + au! + au BufRead,BufNewFile Vagrantfile set filetype=ruby +augroup END +