This is improved syntax highlighting for rspec. This is pulled from Specky which is a great plugin that just does a little too much for me.
With Vundle
Add:
Bundle 'Keithbsmiley/rspec.vim'
To your .vimrc
and run BundleInstall
from within vim or vim +BundleInstall +qall
from the command line
With Pathogen
cd ~/.vim/bundle
git clone https://github.com/Keithbsmiley/rspec.vim.git
By default this syntax is used with all *_spec.rb
files. If you don't follow this norm use something like:
autocmd BufReadPost,BufNewFile *_foo.rb set syntax=rspec
In your ~/.vimrc