completion/ivy: fix ivy-re-builders-alist delegates
This commit is contained in:
parent
cdf4604288
commit
a24b750c6c
2 changed files with 12 additions and 2 deletions
|
@ -13,6 +13,16 @@
|
|||
(and (not (eq buffer (current-buffer)))
|
||||
(+workspace-contains-buffer-p buffer))))
|
||||
|
||||
;;;###autoload
|
||||
(defun +ivy-standard-search (str)
|
||||
"TODO"
|
||||
(funcall +ivy-standard-search-fn str))
|
||||
|
||||
;;;###autoload
|
||||
(defun +ivy-alternative-search (str)
|
||||
"TODO"
|
||||
(funcall +ivy-alternative-search-fn str))
|
||||
|
||||
;;;###autoload
|
||||
(defun +ivy-rich-buffer-name (candidate)
|
||||
"Display the buffer name.
|
||||
|
|
|
@ -49,9 +49,9 @@ results buffer.")
|
|||
counsel-grep
|
||||
swiper
|
||||
swiper-isearch)
|
||||
collect (cons cmd +ivy-standard-search-fn))
|
||||
collect (cons cmd #'+ivy-alternative-search))
|
||||
;; Ignore order for non-fuzzy searches by default
|
||||
(t . ,+ivy-alternative-search-fn)))
|
||||
(t . +ivy-standard-search)))
|
||||
|
||||
(define-key!
|
||||
[remap switch-to-buffer] #'+ivy/switch-buffer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue