Skip to content

Commit

Permalink
Remove reference to evil-snip-auto-disable-substitute
Browse files Browse the repository at this point in the history
Fixes #82

evil-snipe stopped using this over 6yrs ago
  • Loading branch information
tomdl89 committed Jan 3, 2024
1 parent 134fe33 commit e8ccec3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions evil-cleverparens.el
Original file line number Diff line number Diff line change
Expand Up @@ -2150,10 +2150,7 @@ in question."
evil-cp-append-key 'evil-cp-append)
(add-hook 'evil-insert-state-exit-hook
'evil-cp-insert-exit-hook))
;; If evil-snipe is not present or does not want to use s and S bindings,
;; then we can use them. To take effect, evil-snipe must be loaded before us.
(when (and evil-cleverparens-use-s-and-S
(not (bound-and-true-p evil-snipe-auto-disable-substitute)))
(when evil-cleverparens-use-s-and-S
(evil-define-key 'normal evil-cleverparens-mode-map
"s" 'evil-cp-substitute
"S" 'evil-cp-change-whole-line)))
Expand Down

0 comments on commit e8ccec3

Please # to comment.