Fix yasnippet not loading snippets on startup
This commit is contained in:
parent
3add1b5f4d
commit
2cdbe0d00e
2
init.el
2
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-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-also-auto-indent-first-line t "Always indent first line in expanded templates")
|
||||||
(yas-snippet-dirs '(user/yasnippet-directory) "Set snippet files location")
|
(yas-snippet-dirs '(user/yasnippet-directory) "Set snippet files location")
|
||||||
|
:config
|
||||||
|
(yas-reload-all)
|
||||||
:hook
|
:hook
|
||||||
(prog-mode-hook . yas-minor-mode)
|
(prog-mode-hook . yas-minor-mode)
|
||||||
(text-mode-hook . yas-minor-mode)
|
(text-mode-hook . yas-minor-mode)
|
||||||
|
Loading…
Reference in New Issue
Block a user