Fix yasnippet variables, they need to be set in :init

This commit is contained in:
Riyyi
2021-04-01 01:32:40 +02:00
parent 41f614699b
commit bce32d3ddc
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -634,9 +634,10 @@ Language Server Protocol.
#+BEGIN_SRC emacs-lisp
(use-package yasnippet
:defer t
:config
:init
(setq yas-snippet-dirs (list (concat dot-emacs-dir "/snippets")))
(setq yas-prompt-functions '(yas-completing-prompt))
:config
(yas-global-mode))
(use-package yasnippet-snippets