vertico: use consult-line in +default/search-buffer
While it only gives one candidate per line, it's more important to have something that uses the completion UI
This commit is contained in:
parent
29bd530970
commit
770084fdda
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ If a selection is active, pre-fill the prompt with it."
|
|||
(if (region-active-p)
|
||||
#'swiper-isearch-thing-at-point
|
||||
#'swiper-isearch))
|
||||
((featurep! :completion vertico) #'isearch-forward))))
|
||||
((featurep! :completion vertico) #'consult-line))))
|
||||
|
||||
;;;###autoload
|
||||
(defun +default/search-project (&optional arg)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue