diff --git a/modules/completion/ivy/autoload/ivy.el b/modules/completion/ivy/autoload/ivy.el index 86e8de660..ec0c0770a 100644 --- a/modules/completion/ivy/autoload/ivy.el +++ b/modules/completion/ivy/autoload/ivy.el @@ -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. diff --git a/modules/completion/ivy/config.el b/modules/completion/ivy/config.el index a5f5f7125..12853e2b3 100644 --- a/modules/completion/ivy/config.el +++ b/modules/completion/ivy/config.el @@ -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