Update path to yasnippet-snippets submodule
This commit is contained in:
parent
57e3616ea7
commit
3849842fef
1 changed files with 2 additions and 2 deletions
|
@ -1939,8 +1939,8 @@ DELETE-FUNC when calling CALLBACK.
|
|||
(defun spacemacs/load-yasnippet ()
|
||||
(if (not (boundp 'yas-minor-mode))
|
||||
(progn
|
||||
(let* ((dir (contribsys/get-layer-property 'spacemacs :dir))
|
||||
(yas-dir (list (concat dir "snippets"))))
|
||||
(let* ((dir (contribsys/get-layer-property 'spacemacs :ext-dir))
|
||||
(yas-dir (list (concat dir "yasnippet-snippets"))))
|
||||
(setq yas-snippet-dirs yas-dir)
|
||||
(yas-global-mode 1)))))
|
||||
(add-to-hooks 'spacemacs/load-yasnippet '(prog-mode-hook
|
||||
|
|
Reference in a new issue