Fix #3627: persist auto-yasnippet snippets
Needs to be persisted to a directory yasnippet can see.
This commit is contained in:
parent
e71b7fc705
commit
b2787a9426
1 changed files with 1 additions and 1 deletions
|
@ -124,8 +124,8 @@
|
|||
|
||||
(use-package! auto-yasnippet
|
||||
:defer t
|
||||
:init (setq aya-persist-snippets-dir (concat doom-etc-dir "auto-snippets/"))
|
||||
:config
|
||||
(setq aya-persist-snippets-dir +snippets-dir)
|
||||
(defadvice! +snippets--inhibit-yas-global-mode-a (orig-fn &rest args)
|
||||
"auto-yasnippet enables `yas-global-mode'. This is obnoxious for folks like
|
||||
us who use yas-minor-mode and enable yasnippet more selectively. This advice
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue