Ensure file-template snippets are loaded
In case :feature snippets is disabled.
This commit is contained in:
parent
486d4a12e7
commit
9584dd6005
1 changed files with 3 additions and 1 deletions
|
@ -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 ()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue