summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init/10-km-pkg.el1
-rw-r--r--init/km-yas.el7
2 files changed, 8 insertions, 0 deletions
diff --git a/init/10-km-pkg.el b/init/10-km-pkg.el
index 88dbbb8..674303b 100644
--- a/init/10-km-pkg.el
+++ b/init/10-km-pkg.el
@@ -20,6 +20,7 @@
magit
smex
paredit
+ yasnippet
)
"Default packages")
diff --git a/init/km-yas.el b/init/km-yas.el
new file mode 100644
index 0000000..52fdb8a
--- /dev/null
+++ b/init/km-yas.el
@@ -0,0 +1,7 @@
+(require 'yasnippet)
+
+(yas-reload-all)
+
+(add-hook 'prog-mode-hook
+ '(lambda ()
+ (yas-minor-mode)))