parent
31d34ae5f0
commit
a25e2e0c89
2 changed files with 16 additions and 0 deletions
|
@ -220,3 +220,16 @@ immediately runs it on the current candidate (ending the ivy session)."
|
|||
;; posframe doesn't work well with async sources
|
||||
(dolist (fn '(swiper counsel-rg counsel-ag counsel-pt counsel-grep counsel-git-grep))
|
||||
(map-put ivy-display-functions-alist fn nil)))
|
||||
|
||||
|
||||
(def-package! flx
|
||||
:when (featurep! +fuzzy)
|
||||
:defer t ; is loaded by ivy
|
||||
:init
|
||||
(setq ivy-re-builders-alist
|
||||
'((counsel-ag . ivy--regex-plus)
|
||||
(counsel-rg . ivy--regex-plus)
|
||||
(counsel-pt . ivy--regex-plus)
|
||||
(counsel-grep-or-swiper . ivy--regex-plus)
|
||||
(t . ivy--regex-fuzzy))
|
||||
ivy-initial-inputs-alist nil))
|
||||
|
|
|
@ -10,5 +10,8 @@
|
|||
(package! ivy-rich)
|
||||
(package! wgrep)
|
||||
|
||||
(when (featurep! +fuzzy)
|
||||
(package! flx))
|
||||
|
||||
(when (and EMACS26+ (featurep! +childframe))
|
||||
(package! ivy-posframe))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue