selectrum: add vertico-repeat support

Also change the `vertico` recipe to be able to use extensions.
This commit is contained in:
Itai Y. Efrat 2021-07-09 16:43:15 +03:00
parent 29c49f727e
commit 794b8c2383
2 changed files with 3 additions and 2 deletions

View file

@ -143,5 +143,5 @@ Supports exporting consult-grep to wgrep, file to wdeired, and consult-location
"Repeat the last selectrum/vertico command." "Repeat the last selectrum/vertico command."
(interactive) (interactive)
(if (featurep! :completion selectrum +vertico) (if (featurep! :completion selectrum +vertico)
(user-error "The vertico flag doesn't support repeating commands (yet)") (vertico-repeat)
(selectrum-repeat))) (selectrum-repeat)))

View file

@ -3,7 +3,8 @@
(if (featurep! +vertico) (if (featurep! +vertico)
(package! vertico (package! vertico
:recipe (:host github :repo "minad/vertico") :recipe (:host github :repo "minad/vertico"
:files ("*.el" "extensions/*.el"))
:pin "9f6cd5d431ec6d288676af80e932d928346a1b36") :pin "9f6cd5d431ec6d288676af80e932d928346a1b36")
(package! selectrum :pin "48ea51aa5b6959ea2a134e36cd21f727047b0677")) (package! selectrum :pin "48ea51aa5b6959ea2a134e36cd21f727047b0677"))