Update path to yasnippet-snippets submodule

This commit is contained in:
syl20bnr 2014-11-03 21:39:12 -05:00
parent 57e3616ea7
commit 3849842fef

View file

@ -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