Fix ivy-prescient disabling fuzzy search
It can set up itself.
This commit is contained in:
parent
1018dea7b7
commit
25eb9176ad
1 changed files with 4 additions and 5 deletions
|
@ -26,10 +26,10 @@ results buffer.")
|
||||||
#'+ivy-prescient-non-fuzzy
|
#'+ivy-prescient-non-fuzzy
|
||||||
#'ivy--regex-plus))
|
#'ivy--regex-plus))
|
||||||
(alt-search-fn
|
(alt-search-fn
|
||||||
(cond ((featurep! +prescient) #'ivy-prescient-re-builder)
|
(if (featurep! +fuzzy)
|
||||||
((featurep! +fuzzy) #'ivy--regex-fuzzy)
|
#'ivy--regex-fuzzy
|
||||||
;; Ignore order for non-fuzzy searches by default
|
;; Ignore order for non-fuzzy searches by default
|
||||||
(#'ivy--regex-ignore-order))))
|
#'ivy--regex-ignore-order)))
|
||||||
(setq ivy-re-builders-alist
|
(setq ivy-re-builders-alist
|
||||||
`((counsel-rg . ,standard-search-fn)
|
`((counsel-rg . ,standard-search-fn)
|
||||||
(swiper . ,standard-search-fn)
|
(swiper . ,standard-search-fn)
|
||||||
|
@ -344,7 +344,6 @@ evil-ex-specific constructs, so we disable it solely in evil-ex."
|
||||||
(if (featurep! +fuzzy)
|
(if (featurep! +fuzzy)
|
||||||
'(literal regexp initialism fuzzy)
|
'(literal regexp initialism fuzzy)
|
||||||
'(literal regexp initialism))
|
'(literal regexp initialism))
|
||||||
ivy-prescient-enable-filtering nil ; we do this ourselves
|
|
||||||
ivy-prescient-retain-classic-highlighting t)
|
ivy-prescient-retain-classic-highlighting t)
|
||||||
|
|
||||||
:config
|
:config
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue