diff --git a/modules/feature/file-templates/config.el b/modules/feature/file-templates/config.el index 80c08429d..38a47dd49 100644 --- a/modules/feature/file-templates/config.el +++ b/modules/feature/file-templates/config.el @@ -26,7 +26,7 @@ in a project." auto-insert-alist nil) ; Tabula rasa (after! yasnippet - (push '+file-templates-dir yas-snippet-dirs)) + (cl-pushnew '+file-templates-dir yas-snippet-dirs :test #'eq)) ;; load autoinsert as late as possible (defun +file-templates|init ()