Skip to content

Commit 5263254

Browse files
committed
yas-load-directory doom-snippets-dir
To ensure snippets directory is loaded when first initialized.
1 parent c22592e commit 5263254

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doom-snippets.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@
5757
"Add `doom-snippets-dir' to `yas-snippet-dirs', replacing the default
5858
yasnippet directory."
5959
(setq yas-wrap-around-region nil)
60-
(add-to-list 'yas-snippet-dirs 'doom-snippets-dir))
60+
(add-to-list 'yas-snippet-dirs 'doom-snippets-dir)
61+
(yas-load-directory doom-snippets-dir t))
6162

6263
;;;###autoload
6364
(eval-after-load 'yasnippet

0 commit comments

Comments
 (0)