ivy-prescient-retain-classic-highlighting = t

Because prescient's highlighting turns any assumptions themes make
about ivy's faces on their head, making them look odd.
This commit is contained in:
Henrik Lissner 2019-07-11 17:23:20 +02:00
parent 8f186ae1f0
commit fb16afb4f2
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -298,10 +298,12 @@ evil-ex-specific constructs, so we disable it solely in evil-ex."
:hook (ivy-mode . ivy-prescient-mode)
:when (featurep! +prescient)
:init
(setq prescient-filter-method (if (featurep! +fuzzy)
(setq prescient-filter-method
(if (featurep! +fuzzy)
'(literal regexp initialism fuzzy)
'(literal regexp initialism))
ivy-prescient-enable-filtering nil ;; we do this ourselves
ivy-prescient-enable-filtering nil ; we do this ourselves
ivy-prescient-retain-classic-highlighting t
ivy-initial-inputs-alist nil
ivy-re-builders-alist
'((counsel-ag . +ivy-prescient-non-fuzzy)