From 3ce800880aa666cf64cb40757611563bf91b792f Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 15 May 2022 13:42:47 -0700 Subject: snippets: configure the default path --- emacs/custom/my-settings.el | 2 ++ 1 file changed, 2 insertions(+) (limited to 'emacs') diff --git a/emacs/custom/my-settings.el b/emacs/custom/my-settings.el index ebb0cc5..9477965 100644 --- a/emacs/custom/my-settings.el +++ b/emacs/custom/my-settings.el @@ -61,6 +61,8 @@ (require 'exec-path-from-shell) (add-hook 'emacs-startup-hook (lambda () (exec-path-from-shell-initialize)))) +(customize-set-variable 'yas-snippet-dirs (expand-file-name "etc/snippets" user-emacs-directory)) + (provide 'my-settings) ;;; my-settings.el ends here -- cgit 1.4.1