Temporarily disable evil-matchit for python.

See #3068; redguardtoo/evil-matchit#18 and redguardtoo/evil-matchit#58
This commit is contained in:
Robert O'Connor 2015-09-18 14:56:37 -04:00 committed by syl20bnr
parent 88daf79ad1
commit 3839e1a925
2 changed files with 10 additions and 10 deletions

View File

@ -31,7 +31,6 @@ This layer adds support for the Python language.
- semantic mode is enabled
- PEP8 compliant formatting via [[https://github.com/google/yapf][YAPF]]
- Suppression of unused import with [[https://github.com/myint/autoflake][autoflake]]
- Use the ~%~ key to jump between blocks with [[https://github.com/redguardtoo/evil-matchit][evil-matchit]]
* Install

View File

@ -17,7 +17,7 @@
company-anaconda
cython-mode
eldoc
evil-matchit
;; evil-matchit
evil-jumper
flycheck
helm-cscope
@ -254,14 +254,15 @@
(setq imenu-create-index-function
#'spacemacs/python-imenu-create-index-python-or-semantic)))))
(defun python/post-init-evil-matchit ()
(use-package evil-matchit-python
:defer t
:init
(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)))))
;; Has bugs at the moment
;; (defun python/post-init-evil-matchit ()
;; (use-package evil-matchit-python
;; :defer t
;; :init
;; (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)))))
(defun python/post-init-flycheck ()
(add-hook 'python-mode-hook 'flycheck-mode))