branch: elpa/evil-matchit
commit ea1e867129174ef0d545574b883939fcc2019886
Author: Chen Bin <[email protected]>
Commit: Chen Bin <[email protected]>

    support more ruby syntax, thanks to @kriansa
---
 evil-matchit-ruby.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/evil-matchit-ruby.el b/evil-matchit-ruby.el
index b10fda0724..f5045220a3 100644
--- a/evil-matchit-ruby.el
+++ b/evil-matchit-ruby.el
@@ -32,8 +32,8 @@
 (require 'evil-matchit-sdk)
 
 (defvar evilmi-ruby-extract-keyword-howtos
-  '(("^[ \t]*[^ \t=]+[ \t]*=[ \t]*\\([a-z]+\\)\\( .*\\| *\\)$" 1)
-    ("^[ \t]*\\([a-z]+\\)\\( .*\\|(\\| *\\)$" 1)
+  '(("^[ \t]*[^ \t=]+[ \t]*=[ \t]*\\([a-z]+\\)\\( .*\\|(.*\\| *\\)$" 1)
+    ("^[ \t]*\\([a-z]+\\)\\( .*\\|(.*\\| *\\)$" 1)
     ("^.* \\(do\\) |[a-z0-9A-Z_, *]+| *$" 1)
     ("^.* \\(do\\) *$" 1)
     ("^.* \\(begin\\) *$" 1)

Reply via email to