summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <meyerkya@gmail.com>2013-06-29 01:22:34 -0400
committerKyle Meyer <meyerkya@gmail.com>2013-06-30 20:42:09 -0400
commit2ef6bc3923917df9b1708bba164c2ce535ed00e8 (patch)
tree78a3ee0b38f2750ebf821651220b1f9339a9c745
parent21c3bf429b868e29b410d4ca9e4d36987664d677 (diff)
downloademacs.d-2ef6bc3923917df9b1708bba164c2ce535ed00e8.tar.gz
add yasnippet
-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)))