Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Ruby/RSpec: Enable match against parameter list in block.

  • Loading branch information...
commit 1c39959879a3d1b1ab3fcf112b98970e2cef6401 1 parent 7e98366
@h1mesuke authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 autoload/unite/sources/outline/defaults/ruby/rspec.vim
View
4 autoload/unite/sources/outline/defaults/ruby/rspec.vim
@@ -35,6 +35,10 @@ call extend(s:outline_info, {
\ 'subject\%(\s*\%(do\|{\)\)\@=', 'it\%(_\w\+\|s\)\=', 'specify',
\ ],
\
+ \ 'not_match_patterns': [
+ \ '^\s*\%(let!\=\)\@!\S\+\s*\zs([^)]*)',
+ \ ],
+ \
\ 'rspec_highlight_rules': [
\ { 'name' : 'shared_context',
\ 'pattern' : '/\<shared\=_\%(as\|context\|examples\%(_for\)\=\)\>.*/',
Please sign in to comment.
Something went wrong with that request. Please try again.