mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
completion/ivy: fix +fuzzy & +prescient
Causd by ivy-re-builders-alist overwriting their modifications.
This commit is contained in:
@ -46,6 +46,9 @@ immediately runs it on the current candidate (ending the ivy session)."
|
|||||||
(def-package! ivy
|
(def-package! ivy
|
||||||
:defer 1
|
:defer 1
|
||||||
:after-call pre-command-hook
|
:after-call pre-command-hook
|
||||||
|
:init
|
||||||
|
;; Ignore order for non-fuzzy searches by default
|
||||||
|
(setq ivy-re-builders-alist '((t . ivy--regex-ignore-order)))
|
||||||
:config
|
:config
|
||||||
(setq ivy-height 15
|
(setq ivy-height 15
|
||||||
ivy-wrap t
|
ivy-wrap t
|
||||||
@ -64,9 +67,7 @@ immediately runs it on the current candidate (ending the ivy session)."
|
|||||||
;; don't quit minibuffer on delete-error
|
;; don't quit minibuffer on delete-error
|
||||||
ivy-on-del-error-function nil
|
ivy-on-del-error-function nil
|
||||||
;; enable ability to select prompt (alternative to `ivy-immediate-done')
|
;; enable ability to select prompt (alternative to `ivy-immediate-done')
|
||||||
ivy-use-selectable-prompt t
|
ivy-use-selectable-prompt t)
|
||||||
;; Ignore order for non-fuzzy searches by default
|
|
||||||
ivy-re-builders-alist '((t . ivy--regex-ignore-order)))
|
|
||||||
|
|
||||||
;; Ensure a jump point is registered before jumping to new locations with ivy
|
;; Ensure a jump point is registered before jumping to new locations with ivy
|
||||||
(defvar +ivy--origin nil)
|
(defvar +ivy--origin nil)
|
||||||
|
Reference in New Issue
Block a user