From 39561add0417136c925cbd26feebca7e2035e4e3 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Sun, 9 Aug 2020 17:29:05 +0100 Subject: +load user directory for yasnippet --- Emacs/.config/emacs/config.org | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Emacs/.config/emacs') diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index 5bf0e17..3f7885a 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -536,7 +536,9 @@ Setup global mode after evil mode has been loaded (text-mode . yas-minor-mode)) :general (leader - "i" #'yas-insert-snippet)) + "i" #'yas-insert-snippet) + :config + (yas-load-directory (concat user-emacs-directory "snippets"))) #+END_SRC ** Yasnippet snippets Collection of snippets, activate after yasnippet has been loaded. -- cgit v1.2.3-13-gbd6f