From 2cdbe0d00ed0fe9b27983e89192ca1a690822a13 Mon Sep 17 00:00:00 2001 From: Jessie Hildebrandt Date: Thu, 22 Dec 2022 06:32:54 -0500 Subject: [PATCH] Fix yasnippet not loading snippets on startup --- init.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/init.el b/init.el index 33b9e03..b7e2be5 100644 --- a/init.el +++ b/init.el @@ -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-auto-indent-first-line t "Always indent first line in expanded templates") (yas-snippet-dirs '(user/yasnippet-directory) "Set snippet files location") + :config + (yas-reload-all) :hook (prog-mode-hook . yas-minor-mode) (text-mode-hook . yas-minor-mode)