branch: master
commit e78557a86625052304df37e3978c797ba9bfa03d
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>
swiper.el (swiper--ivy): Fix preselect being added
---
swiper.el | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/swiper.el b/swiper.el
index 083c22c..7a076d1 100644
--- a/swiper.el
+++ b/swiper.el
@@ -189,6 +189,7 @@ When non-nil, INITIAL-INPUT is the initial search pattern."
:initial-input initial-input
:keymap swiper-map
:preselect preselect
+ :require-match t
:update-fn #'swiper--update-input-ivy))
(swiper--cleanup)
(if (null ivy-exit)