summaryrefslogtreecommitdiff
path: root/emacs/custom/my-prog.el
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-04-16 13:06:07 -0700
committerFranck Cuny <franck@fcuny.net>2022-04-16 13:06:07 -0700
commit599bb6c1c689d9430915929f9ab2a4012167b244 (patch)
treeb70818b516d78fec221e55e213ec5564bf4687fe /emacs/custom/my-prog.el
parenteshell: disable auto-completion (diff)
downloademacs.d-599bb6c1c689d9430915929f9ab2a4012167b244.tar.gz
emacs: where to save state
Diffstat (limited to 'emacs/custom/my-prog.el')
-rw-r--r--emacs/custom/my-prog.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/emacs/custom/my-prog.el b/emacs/custom/my-prog.el
index ae3202b..f512a78 100644
--- a/emacs/custom/my-prog.el
+++ b/emacs/custom/my-prog.el
@@ -37,6 +37,8 @@
:ensure t
:hook
((prog-mode org-mode dap-ui-repl-mode conf-mode) . yas-minor-mode)
+ :init
+ (setq yas-snippet-dirs (list (expand-file-name "etc/snippets" user-emacs-directory)))
:config
(yas-reload-all))