1

Fix yasnippet not loading snippets on startup

This commit is contained in:
Jessie Hildebrandt 2022-12-22 06:32:54 -05:00
parent 3add1b5f4d
commit 2cdbe0d00e

View File

@ -1392,6 +1392,8 @@ DOCSTRING is an optional form that is discarded upon expansion."
(yas-also-indent-empty-lines t "Indent lines in expanded templates even if empty") (yas-also-indent-empty-lines t "Indent lines in expanded templates even if empty")
(yas-also-auto-indent-first-line t "Always indent first line in expanded templates") (yas-also-auto-indent-first-line t "Always indent first line in expanded templates")
(yas-snippet-dirs '(user/yasnippet-directory) "Set snippet files location") (yas-snippet-dirs '(user/yasnippet-directory) "Set snippet files location")
:config
(yas-reload-all)
:hook :hook
(prog-mode-hook . yas-minor-mode) (prog-mode-hook . yas-minor-mode)
(text-mode-hook . yas-minor-mode) (text-mode-hook . yas-minor-mode)