redguardtoo / evil-matchit

Vim matchit ported into Emacs
GNU General Public License v3.0
287 stars 31 forks source link

Ignore trailing space in Ruby blocks with arguments #107

Closed porras closed 5 years ago

porras commented 5 years ago

If the line where a block with arguments has trailing space, the regular expression doesn't match, the do gets skipped and the matches are all wrong. This change fixes it, I think it makes sense, since the regular expression for the block without arguments does the same.

redguardtoo commented 5 years ago

Thanks