about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-01-23T14·52+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-01-23T14·52+0000
commit7edd5d81f58dd5bc5f91843272a06662c30caf8b (patch)
tree97ab194f9a07283d1cb50a34ad701cf18ff95c00
parent190d5e4406cafd9a6f832c294adc9bba9bd0f861 (diff)
Explicitly set that yasnippet directory
I'd like to limit the available snippets to those snippets that I have
explicitly defined. I ran into this problem when defining the `defpackage`
snippet for `lisp-mode`; it appeared that another snippet for `defpackage`
existed somewhere on my machine.
-rw-r--r--configs/shared/.emacs.d/wpc/packages/wpc-misc.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/shared/.emacs.d/wpc/packages/wpc-misc.el b/configs/shared/.emacs.d/wpc/packages/wpc-misc.el
index 5e7b0cf75cc7..6dd202687342 100644
--- a/configs/shared/.emacs.d/wpc/packages/wpc-misc.el
+++ b/configs/shared/.emacs.d/wpc/packages/wpc-misc.el
@@ -157,6 +157,7 @@
 
 (use-package yasnippet
   :config
+  (setq yas-snippet-dirs '("~/.emacs.d/snippets/"))
   (yas-global-mode 1))
 
 (use-package projectile