refactor(vertico): use consult-fd

Close: #7458
Co-authored-by: LemonBreezes <look@strawberrytea.xyz>
This commit is contained in:
Itai Y. Efrat 2023-09-25 19:29:32 +03:00
parent 9bfc0ee029
commit 60e22fd2eb
4 changed files with 12 additions and 54 deletions

View file

@ -283,7 +283,7 @@ otherwise falling back to ffap.el (find-file-at-point)."
(counsel-file-jump guess (doom-project-root)))
((and (modulep! :completion vertico)
(doom-project-p))
(+vertico/find-file-in (doom-project-root) guess))
(+vertico/consult-fd-or-find (doom-project-root) guess))
((find-file-at-point (ffap-prompter guess))))
t))