completion/ivy: fix +fuzzy & +prescient
Causd by ivy-re-builders-alist overwriting their modifications.
This commit is contained in:
parent
1a589c546a
commit
b1ecd68381
1 changed files with 4 additions and 3 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue