From 8ca11e8c7c30ccc7432fe149655e5b5aa391727d Mon Sep 17 00:00:00 2001 From: Lucas Sta Maria Date: Mon, 4 Nov 2024 00:52:47 -0500 Subject: [PATCH] fix(emacs): enable yas-minor-mode Signed-off-by: Lucas Sta Maria --- .emacs.d/include/priime-completion.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.emacs.d/include/priime-completion.el b/.emacs.d/include/priime-completion.el index cbab15b..b96cbd0 100644 --- a/.emacs.d/include/priime-completion.el +++ b/.emacs.d/include/priime-completion.el @@ -34,7 +34,8 @@ (use-package consult :straight t :bind (("C-c r r" . consult-ripgrep) ("C-c r g" . consult-grep))) -(use-package yasnippet :straight t) +(use-package yasnippet :straight t + :hook ((prog-mode . yas-minor-mode))) (use-package yasnippet-snippets :straight t) (provide 'priime-completion)