summary refs log tree commit diff
path: root/config/init-snippets.el
diff options
context:
space:
mode:
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