fix(ivy): remove hard dependency on flx

Ivy tries to load flx to determine if fuzzy capabilities should be
enabled by default, causing #5681. Let's not do that.

Fix: #5681
Close: #5690
This commit is contained in:
Henrik Lissner 2021-10-28 20:33:00 +02:00
parent b3b875e226
commit bae7ab0d8d

View file

@ -368,6 +368,7 @@ results buffer.")
:when (featurep! +fuzzy) :when (featurep! +fuzzy)
:unless (featurep! +prescient) :unless (featurep! +prescient)
:defer t ; is loaded by ivy :defer t ; is loaded by ivy
:preface (setq ivy--flx-featurep (featurep! +fuzzy))
:init (setq ivy-flx-limit 10000)) :init (setq ivy-flx-limit 10000))
(use-package! ivy-avy (use-package! ivy-avy