tpope/vim-endwise — pull request #30 by Huluk (2013-03-12 11:39:10+00:00)
Title: Ruby: assignments to endwise pattern don't break completion

Methods added before an assignment to an endwise pattern where not
completed:

```ruby
def new_method
# no "end" added

k = case n
when 1 then :result_1
when 2 then :result_2
end
```

I added `\(.*=\)\?` to the endwise pattern to match this assignment.