feat(vertico): add consult-yasnippet

Close: #7471
Co-authored-by: LemonBreezes <LemonBreezes@users.noreply.github.com>
This commit is contained in:
Henrik Lissner 2024-03-20 00:03:37 -04:00 committed by Yann Esposito (Yogsototh)
parent 9288d6a5e4
commit 07310dc9e2
Signed by untrusted user who does not match committer: yogsototh
GPG key ID: 7B19A4C650D59646
2 changed files with 8 additions and 0 deletions

View file

@ -251,6 +251,11 @@ orderless."
(not (modulep! :checkers syntax +flymake)))
:after (consult flycheck))
(use-package! consult-yasnippet
:when (modulep! :editor snippets)
:defer t
:init (map! [remap yas-insert-snippet] #'consult-yasnippet))
(use-package! embark
:defer t

View file

@ -24,3 +24,6 @@
(package! vertico-posframe
:recipe (:host github :repo "tumashu/vertico-posframe")
:pin "2e0e09e5bbd6ec576ddbe566ab122575ef051fab"))
(when (modulep! :editor snippets)
(package! consult-yasnippet :pin "834d39acfe8a7d2c304afbe4d649b9372118c756"))