Created
February 15, 2009 07:20
-
-
Save technicalpickles/64635 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if expand('%') =~# '_spec\.rb$' | |
syn keyword rubyRspec describe context it specify it_should_behave_like before after setup subject | |
endif | |
hi def link rubyRspec Function |
missing some keywords, such as its shared_examples_for and shared_context (new in 2.6) as per https://gist.github.com/980679
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nice!! I find this works better in my .vimrc: