Ensure file-template snippets are loaded

In case :feature snippets is disabled.
This commit is contained in:
Henrik Lissner 2018-08-14 15:23:50 +02:00
parent 486d4a12e7
commit 9584dd6005
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -131,7 +131,9 @@ must be non-read-only, empty, and there must be a rule in
yas-prompt-functions (delq #'yas-dropdown-prompt yas-prompt-functions) yas-prompt-functions (delq #'yas-dropdown-prompt yas-prompt-functions)
yas-snippet-dirs nil) yas-snippet-dirs nil)
;; Exit snippets on ESC from normal mode ;; Exit snippets on ESC from normal mode
(add-hook 'doom-escape-hook #'yas-abort-snippet)) (add-hook 'doom-escape-hook #'yas-abort-snippet)
;;
(yas-reload-all))
(defun +file-templates|init () (defun +file-templates|init ()