diff --git a/modules/editor/file-templates/autoload.el b/modules/editor/file-templates/autoload.el index 70c416dbd..1ff309528 100644 --- a/modules/editor/file-templates/autoload.el +++ b/modules/editor/file-templates/autoload.el @@ -100,6 +100,8 @@ evil is loaded and enabled)." "Insert a license file template into the current file." (interactive) (require 'yasnippet) + (unless (gethash 'text-mode yas--tables) + (yas-reload-all t)) (let ((templates (let (yas-choose-tables-first ; avoid prompts yas-choose-keys-first)