From b0ba70296dde6327c4d24465c166663b53d54401 Mon Sep 17 00:00:00 2001 From: Chen Bin Date: Fri, 6 Dec 2024 11:21:50 +1100 Subject: [PATCH] fixed ci --- lisp/init-evil.el | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/lisp/init-evil.el b/lisp/init-evil.el index 0d624d698..2ceab52b9 100644 --- a/lisp/init-evil.el +++ b/lisp/init-evil.el @@ -375,12 +375,15 @@ COUNT, BEG, END, TYPE is used. If INCLUSIVE is t, the text object is inclusive. (forward-line 1) (evil-search search t t (point)))) +(defun my-rjsx-jump-tag () + "Wrapper of `rjsx-jump-tags'." + (when (string-match "" (string-trim (evilmi-sdk-curline))) + (when (foundp 'rjsx-jump-tag) + (rjsx-jump-tag)))) + (with-eval-after-load 'rjsx-mode (my-ensure 'evil-matchit) (when (functionp 'evilmi-add-one-plugin-rule) - (defun my-rjsx-jump-tag () - (when (string-match "" (string-trim (evilmi-sdk-curline))) - (rjsx-jump-tag))) (evilmi-add-one-plugin-rule #'rjsx-mode #'my-rjsx-jump-tag))) ;; "gd" or `evil-goto-definition' now use `imenu', `xref' first,