diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2024-02-21 12:56:29 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2024-02-21 12:56:29 +0100 |
commit | 11b8d22d178fc5b2e0ee811994ebddbf99675f1e (patch) | |
tree | c57c88aa7244b02fbc2f6637ba4f11284a7780bc | |
parent | 9930b7963684b3a8d56835b3af491e88227bf1a1 (diff) |
Wrap yasnippet in use-package macro.
-rw-r--r-- | init.org | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 |