60

GitHub - keith/rspec.vim: Better rspec syntax highlighting for Vim

 5 years ago
source link: https://github.com/keith/rspec.vim
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

rspec.vim

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

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

Usage

By default this syntax is used with all *_spec.rb files. If you don't follow this pattern use something like:

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

In your ~/.vimrc


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK