aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config/emacs
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2020-08-09 17:29:05 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2020-08-09 17:29:05 +0100
commit39561add0417136c925cbd26feebca7e2035e4e3 (patch)
tree832f31b2696bbf4f67c01a23a03d5a1165b33c7d /Emacs/.config/emacs
parentfa8efabe1770f22c8348fdca97a728ca6af3d2d3 (diff)
downloaddotfiles-39561add0417136c925cbd26feebca7e2035e4e3.tar.gz
dotfiles-39561add0417136c925cbd26feebca7e2035e4e3.tar.bz2
dotfiles-39561add0417136c925cbd26feebca7e2035e4e3.zip
+load user directory for yasnippet
Diffstat (limited to 'Emacs/.config/emacs')
-rw-r--r--Emacs/.config/emacs/config.org4
1 files changed, 3 insertions, 1 deletions
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.