Skip to content

Commit

Permalink
Fix evil-matchit for python and ruby
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBB authored and Daniel Luna committed Sep 14, 2015
1 parent 1c08629 commit f355bd2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions layers/+lang/python/packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -258,10 +258,10 @@
(use-package evil-matchit-python
:defer t
:init
(add-hook `python-mode `turn-onevil-matchit-mode)
(add-hook `python-mode-hook `turn-on-evil-matchit-mode)
:config
(plist-put evilmi-plugins 'python-mode' ((evilmi-simple-get-tag evilmi-simple-jump)
(evilmi-python-get-tag evilmi-python-jump)))))
(plist-put evilmi-plugins 'python-mode '((evilmi-simple-get-tag evilmi-simple-jump)
(evilmi-python-get-tag evilmi-python-jump)))))

(defun python/post-init-flycheck ()
(add-hook 'python-mode-hook 'flycheck-mode))
Expand Down
2 changes: 1 addition & 1 deletion layers/+lang/ruby/packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
(defun ruby/post-init-evil-matchit ()
(use-package evil-matchit-ruby
:defer t
:init (add-hook `enh-ruby-mode `turn-on-evil-matchit-mode)
:init (add-hook `enh-ruby-mode-hook `turn-on-evil-matchit-mode)
:config
(progn
(plist-put evilmi-plugins 'enh-ruby-mode '((evilmi-simple-get-tag evilmi-simple-jump)
Expand Down

0 comments on commit f355bd2

Please sign in to comment.