Skip to content

Commit

Permalink
fixed typo in README
Browse files Browse the repository at this point in the history
  • Loading branch information
Chen Bin committed Dec 5, 2024
1 parent 84a6d34 commit 1e9be7d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -263,15 +263,15 @@ Use =evilmi-add-one-plugin-rule= to add one new plugin rule for specific MAJOR-M

For example, to integrate =rjsx-jump-tag= into this package is as simple as,
#+begin_src elisp
(evilmi-add-one-plugin-rule #'rjsx-mode #'my-rjsx-jump-tag)
(evilmi-add-one-plugin-rule 'rjsx-mode #'my-rjsx-jump-tag)
#+end_src

Or,
#+begin_src elisp
(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)
(evilmi-add-one-plugin-rule 'rjsx-mode #'my-rjsx-jump-tag)
#+end_src

Or,
Expand All @@ -283,7 +283,7 @@ Or,
(rjsx-jump-tag)
(point))
(defvar append-p t)
(evilmi-add-one-plugin-rule #'rjsx-mode #'my-rjsx-jump-tag #'my-rjsx-get-tag append-p)
(evilmi-add-one-plugin-rule 'rjsx-mode #'my-rjsx-jump-tag #'my-rjsx-get-tag append-p)
#+end_src

*** Support languages using indentation to identify a block of code
Expand Down

0 comments on commit 1e9be7d

Please sign in to comment.