Rspec.vim
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.
Installation
Vundle
WithAdd:
Bundle 'Keithbsmiley/rspec.vim'
To your .vimrc
and run BundleInstall
from within vim or vim +BundleInstall +qall
from the command line
Pathogen
Withcd ~/.vim/bundle
git clone https://github.com/Keithbsmiley/rspec.vim.git
Usage
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