tpope / vim-rails

rails.vim: Ruby on Rails power tools
http://www.vim.org/scripts/script.php?script_id=1567
4.1k stars 383 forks source link

Add raise_error to syntax highlighting #529

Closed lucianosousa closed 5 years ago

lucianosousa commented 5 years ago

Add syntax highlighting to raise_error RSpec method https://www.rubydoc.info/github/rspec/rspec-expectations/RSpec/Matchers:raise_error

tpope commented 5 years ago

raise_error is a matcher, putting it in the same category as eq and be_nil and 1 million other things, and since it's infeasible to match all of them, I choose to match none of them.

lucianosousa commented 5 years ago

makes sense