branch: elpa/evil-matchit
commit 7bee6fad805ff98eb3163fb4386e5a176d6a6d9e
Merge: 64b572d2e4 c04f8f480c
Author: Chen Bin <[email protected]>
Commit: GitHub <[email protected]>

    Merge pull request #106 from porras/patch-1
    
    Match Ruby's begin also when it's not on the beginning of the line
---
 evil-matchit-ruby.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/evil-matchit-ruby.el b/evil-matchit-ruby.el
index 97872ef37c..ddecaeb691 100644
--- a/evil-matchit-ruby.el
+++ b/evil-matchit-ruby.el
@@ -36,6 +36,7 @@
     ("^[ \t]*\\([a-z]+\\)\\( .*\\| *\\)$" 1)
     ("^.* \\(do\\) |[a-z0-9A-Z_, *]+| *$" 1)
     ("^.* \\(do\\) *$" 1)
+    ("^.* \\(begin\\) *$" 1)
     ("^.* \\(end\\)\\..*$" 1)))
 
 (defvar evilmi-ruby-match-tags

Reply via email to