From ee7073ea67b013019c785cdc8a57a04166003360 Mon Sep 17 00:00:00 2001 From: Laurens Miers Date: Thu, 19 Sep 2024 22:46:14 +0200 Subject: [PATCH] ADD Yasnippet hook to prog- and org-mode --- config_new.org | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config_new.org b/config_new.org index 91dda14..4c0966d 100644 --- a/config_new.org +++ b/config_new.org @@ -497,14 +497,17 @@ Install and wait for hydra to be available since we are using it in this init.el ))) #+END_SRC + ** Yasnippet #+BEGIN_SRC emacs-lisp (use-package yasnippet :ensure t + :hook + (prog-mode . yas-minor-mode) + (org-mode . yas-minor-mode) :config (yas-reload-all) - (add-hook 'prog-mode-hook 'yas-minor-mode) ) #+END_SRC