feat(vertico): use basic completion for remotes

Close: #5313

Co-authored-by: Stefan Lendl <ste.lendl@gmail.com>
This commit is contained in:
Itai Y. Efrat 2021-08-13 00:26:10 +03:00
parent 2fdcefa831
commit fc163b16c9
2 changed files with 17 additions and 1 deletions

View file

@ -299,3 +299,13 @@ targets."
(if keymap
(cons '(vertico-current . embark-target) fr)
fr))))))
;;;###autoload
(defun +vertico-basic-remote-try-completion (string table pred point)
(and (vertico--remote-p string)
(completion-basic-try-completion string table pred point)))
;;;###autoload
(defun +vertico-basic-remote-all-completions (string table pred point)
(and (vertico--remote-p string)
(completion-basic-all-completions string table pred point)))