feature/snippets: add doom-private-dir/snippets to yas-snippet-dirs

This commit is contained in:
Henrik Lissner 2018-04-03 05:45:45 -04:00
parent 0739e8cd0a
commit 183b061351
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -29,6 +29,8 @@
;; Allow nested snippets ;; Allow nested snippets
yas-triggers-in-field t) yas-triggers-in-field t)
(push (expand-file-name "snippets/" doom-private-dir) yas-snippet-dirs)
;; Allows project-specific snippets ;; Allows project-specific snippets
(defun +snippets|enable-project-modes (mode &rest _) (defun +snippets|enable-project-modes (mode &rest _)
"Enable snippets for project modes." "Enable snippets for project modes."