Fix evil-matchit % jump in web mode (#14940)
problem With the cursor on a parenthesis in js code in a .html document, pressing: ``` % ;; evilmi-jump-items ``` jumps to the buffers last line. solution from upstream issue Jump to end when current line has a "if" keyword in web-mode and html-mode https://github.com/redguardtoo/evil-matchit/issues/119
This commit is contained in:
parent
eeb363f6e4
commit
48d1f53630
1 changed files with 1 additions and 0 deletions
|
@ -111,6 +111,7 @@
|
|||
(spacemacs|hide-lighter emmet-mode))))
|
||||
|
||||
(defun html/post-init-evil-matchit ()
|
||||
(evilmi-load-plugin-rules '(web-mode) '(simple template html))
|
||||
(add-hook 'web-mode-hook 'turn-on-evil-matchit-mode))
|
||||
|
||||
(defun html/post-init-flycheck ()
|
||||
|
|
Reference in a new issue