summary refs log tree commit diff
path: root/config/init-snippets.el
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-04-06 11:22:57 -0700
committerFranck Cuny <franck@fcuny.net>2024-04-06 11:22:57 -0700
commit7c5780a719565630f58e7751afa8c7e458c49871 (patch)
treef8863ebcbd4a1e551a63374b3fee589affca1393 /config/init-snippets.el
parentmove some display stuff (diff)
downloademacs.d-7c5780a719565630f58e7751afa8c7e458c49871.tar.gz
a org file is definitely not the way for me
Diffstat (limited to 'config/init-snippets.el')
-rw-r--r--config/init-snippets.el20
1 files changed, 20 insertions, 0 deletions
diff --git a/config/init-snippets.el b/config/init-snippets.el
new file mode 100644
index 0000000..7c6a83e
--- /dev/null
+++ b/config/init-snippets.el
@@ -0,0 +1,20 @@
+;;; init-snippets.el --- configure snippets -*- lexical-binding: t -*-
+;; Author: Franck Cuny <franck@fcuny.net>
+
+;;; Commentary:
+
+;; Configure snippets
+
+;;; Code:
+
+(use-package yasnippet
+  :ensure t
+  :defer t
+  :diminish
+  :hook ((prog-mode . yas-minor-mode))
+  :config
+  (yas-reload-all))
+
+(provide 'init-snippets)
+
+;;; init-snippets.el ends here