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
parent c564c17a6b
commit 0ea84d1c3b
No known key found for this signature in database
GPG key ID: B60957CA074D39A3
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"))