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

    spacemacs use enh-ruby-mode
---
 evil-matchit.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/evil-matchit.el b/evil-matchit.el
index d436ace94f..0e25f1d545 100644
--- a/evil-matchit.el
+++ b/evil-matchit.el
@@ -333,10 +333,12 @@ If font-face-under-cursor is NOT nil, the quoted string 
is being processed"
 
   (autoload 'evilmi-ruby-get-tag "evil-matchit-ruby" nil)
   (autoload 'evilmi-ruby-jump "evil-matchit-ruby" nil)
+  ;; @see https://github.com/syl20bnr/spacemacs/issues/2093
+  ;; spacemacs use enh-ruby-mode
   (mapc (lambda (mode)
           (plist-put evilmi-plugins mode '((evilmi-simple-get-tag 
evilmi-simple-jump)
                                            (evilmi-ruby-get-tag 
evilmi-ruby-jump))))
-        '(ruby-mode))
+        '(ruby-mode enh-ruby-mode))
   )
 
 (defun evilmi--region-to-select-or-delete (NUM &optional is-inner)

Reply via email to