diff options
author | Kyle Meyer <meyerkya@gmail.com> | 2013-06-29 01:22:34 -0400 |
---|---|---|
committer | Kyle Meyer <meyerkya@gmail.com> | 2013-06-30 20:42:09 -0400 |
commit | 2ef6bc3923917df9b1708bba164c2ce535ed00e8 (patch) | |
tree | 78a3ee0b38f2750ebf821651220b1f9339a9c745 | |
parent | 21c3bf429b868e29b410d4ca9e4d36987664d677 (diff) | |
download | emacs.d-2ef6bc3923917df9b1708bba164c2ce535ed00e8.tar.gz |
add yasnippet
-rw-r--r-- | init/10-km-pkg.el | 1 | ||||
-rw-r--r-- | init/km-yas.el | 7 |
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))) |