diff options
author | Kyle Meyer <kyle@kyleam.com> | 2014-01-26 01:59:44 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2014-01-26 01:59:44 -0500 |
commit | 7869360008d87ca4b459c703f4894625dd8181cc (patch) | |
tree | b0f3f50ae2c309056883e03848abb3e1e4cb9b1e /lisp/init-yas.el | |
parent | 47e1d90700105f6b0f0550d7632a22b3fe81acb9 (diff) | |
download | emacs.d-7869360008d87ca4b459c703f4894625dd8181cc.tar.gz |
Follow Purcell's emacs.d structure
User init files are added using provide/require.
https://github.com/purcell/emacs.d
Diffstat (limited to 'lisp/init-yas.el')
-rw-r--r-- | lisp/init-yas.el | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lisp/init-yas.el b/lisp/init-yas.el new file mode 100644 index 0000000..1c0c74a --- /dev/null +++ b/lisp/init-yas.el @@ -0,0 +1,13 @@ +(require 'yasnippet) + +(yas-reload-all) + +(add-hook 'prog-mode-hook + '(lambda () + (yas-minor-mode))) + +(add-hook 'LaTeX-mode-hook + '(lambda () + (yas-minor-mode))) + +(provide 'init-yas) |