GitHub - keith/rspec.vim: Better rspec syntax highlighting for Vim (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

rspec.vim

This provides improved syntax highlighting for rspec. This is pulled from Speckywhich is a great plugin which just does a little too much for me.

If you don't have a preferred installation method check outvim-plug

Usage

By default this syntax is used with all files matching one of these patterns:

If you don't follow this pattern use something like:

autocmd BufNewFile,BufRead *_foo.rb set syntax=rspec

In your ~/.vimrc