tweak evil-matchit for the html layer

This commit is contained in:
Robert O'Connor 2015-08-10 15:40:05 -04:00 committed by syl20bnr
parent a9716e3f79
commit d8566c1752
2 changed files with 2 additions and 1 deletions

View file

@ -44,6 +44,7 @@ To use this contribution add it to your =~/.spacemacs=
| ~SPC m r r~ | rename current element |
| ~SPC m r w~ | wrap current element |
| ~SPC m z~ | fold/unfold current element |
| ~%~ | evil-matchit keybinding to jump to closing tag |
A micro-state is also defined, start it with ~SPC m .~ or ~, .~

View file

@ -94,7 +94,7 @@
(spacemacs|hide-lighter emmet-mode))))
(defun html/post-init-evil-matchit ()
(add-hook 'web-mode-hook 'evil-matchit-mode))
(add-hook 'web-mode-hook 'turn-on-evil-matchit-mode))
(defun html/post-init-flycheck ()
(dolist (mode '(haml-mode jade-mode less-mode sass-mode scss-mode slim-mode web-mode))