summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2023-03-15 12:15:04 +0100
committerRicardo Wurmus <rekado@elephly.net>2023-03-15 12:15:04 +0100
commitb99987e310a160fb0cd3020cb8440654de1c125c (patch)
treeb7c4b5c68bc4cd714dbeac8bd039d4c7918d8bf3
parent43f07324c6bbf7a563fb22ddeff5c137d19eeb72 (diff)
yasnippet: Use use-package.
-rw-r--r--init.org5
1 files changed, 3 insertions, 2 deletions
diff --git a/init.org b/init.org
index 0163848..df02048 100644
--- a/init.org
+++ b/init.org
@@ -730,8 +730,9 @@ Hippie expand is a neat way to expand text based on already existing text. Unfo
I also use snippets for commonly typed expressions.
#+BEGIN_SRC elisp
-(require 'yasnippet)
-(yas-global-mode 1)
+(use-package yasnippet
+ :init
+ (yas-global-mode 1))
#+END_SRC
* Paste