From 3254c17d6f3cb0c5080956ee7f187c71bd173946 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Tue, 1 Sep 2020 23:26:40 +0100 Subject: +yas load directory via no-literring --- Emacs/.config/emacs/config.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index c7cb70a..69e8779 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -877,7 +877,7 @@ Setup global mode after evil mode has been loaded (leader "i" #'yas-insert-snippet) :config - (yas-load-directory (concat user-emacs-directory "snippets"))) + (yas-load-directory (no-littering-expand-etc-file-name "yasnippet/snippets"))) #+end_src *** Yasnippet snippets Collection of snippets, activate after yasnippet has been loaded. -- cgit v1.2.3-13-gbd6f