Skip to content

Instantly share code, notes, and snippets.

@diegotoral
Created April 21, 2017 15:28
Show Gist options
  • Save diegotoral/ce58679a2d80ecc1419767c773ec808a to your computer and use it in GitHub Desktop.
Save diegotoral/ce58679a2d80ecc1419767c773ec808a to your computer and use it in GitHub Desktop.
Ctags support for RSpec
--regex-ruby=/^[ \t]*describe ['"](.*)['"] do/\1/d,rspec describe/
--regex-ruby=/^[ \t]*context ['"](.*)['"] do/\1/C,rspec context/
--regex-ruby=/^[ \t]*it ['"](.*)['"] do/\1/i,rspec tests/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment