summaryrefslogtreecommitdiff
path: root/lisp/init-yas.el
blob: 05cfba8518a7967caecc855e27d2202b37dc6408 (plain)
1
2
3
4
5
6
7
8
9
10
11
(require-package 'yasnippet)

(require 'yasnippet)
(yas-reload-all)

(add-hook 'prog-mode-hook 'yas-minor-mode)
(add-hook 'LaTeX-mode-hook 'yas-minor-mode)

(diminish 'yas-minor-mode)

(provide 'init-yas)