From 11b8d22d178fc5b2e0ee811994ebddbf99675f1e Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 21 Feb 2024 12:56:29 +0100 Subject: Wrap yasnippet in use-package macro. --- init.org | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/init.org b/init.org index d868d85..6e216b6 100644 --- a/init.org +++ b/init.org @@ -306,9 +306,10 @@ Oleg Pykhalov shared this useful snippet to list bugs for which I am listed as t When working on Guix it helps to reduce boilerplate with snippets. I like to have YASnippet enabled and let it use the snippets that are provided with Guix: #+BEGIN_SRC elisp -(require 'yasnippet) -(add-to-list 'yas-snippet-dirs "~/dev/gx/branches/master/etc/snippets") -(yas-global-mode) +(use-package yasnippet + :config + (add-to-list 'yas-snippet-dirs "~/dev/gx/branches/master/etc/snippets") + (yas-global-mode)) #+END_SRC * Manuals -- cgit v1.2.3