Fix #3509: add swiper-mc to mc/cmds-to-run-once

This commit is contained in:
Henrik Lissner 2020-07-18 16:59:54 -04:00
parent 77f554c63d
commit 63a94698a2
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -143,6 +143,9 @@
(defvar +mc--compat-evil-prev-state nil) (defvar +mc--compat-evil-prev-state nil)
(defvar +mc--compat-mark-was-active nil) (defvar +mc--compat-mark-was-active nil)
(after! swiper
(add-to-list 'mc/cmds-to-run-once 'swiper-mc))
(add-hook! 'multiple-cursors-mode-enabled-hook (add-hook! 'multiple-cursors-mode-enabled-hook
(defun +multiple-cursors-compat-switch-to-emacs-state-h () (defun +multiple-cursors-compat-switch-to-emacs-state-h ()
(when (and (bound-and-true-p evil-mode) (when (and (bound-and-true-p evil-mode)