Skip to content

Commit

Permalink
docs(emacs-lisp): add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Sep 4, 2023
1 parent 49d7ff7 commit 0c4b0a4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/me-emacs-lisp.el
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@
(parinfer-rust-mode -1))
(setq +parinter-rust--was-enabled-p nil)))

;; The `evil-shif-right' (and `evil-shift-left' which uses it under the hood)
;; behave strangely when `parinfer-rust-mode' is enabled, so lets disable when
;; using this command.
(dolist (cmd '(evil-shift-right))
(advice-add cmd :before #'+parinter-rust--disable-a)
(advice-add cmd :after #'+parinter-rust--restore-a)))
Expand Down

0 comments on commit 0c4b0a4

Please sign in to comment.