restored vendor and snippets dirs
This commit is contained in:
parent
8a2dc4b256
commit
b635a36a0c
2 changed files with 7 additions and 0 deletions
6
init.el
6
init.el
|
@ -44,9 +44,15 @@ avoid modifying the configuration there.")
|
|||
"Users of Emacs Prelude are encouraged to keep their personal configuration
|
||||
changes in this directory. All Emacs Lisp files there are loaded automatically
|
||||
by Prelude.")
|
||||
(defvar prelude-vendor-dir (concat prelude-dir "vendor/")
|
||||
"This directory house Emacs Lisp packages that are not yet available in
|
||||
ELPA (or MELPA).")
|
||||
(defvar prelude-snippets-dir (concat prelude-dir "snippets/")
|
||||
"This folder houses addition yasnippet bundles distributed with Prelude.")
|
||||
|
||||
;; add Prelude's directories to Emacs's `load-path'
|
||||
(add-to-list 'load-path prelude-modules-dir)
|
||||
(add-to-list 'load-path prelude-vendor-dir)
|
||||
|
||||
;; the core stuff
|
||||
(require 'prelude-packages)
|
||||
|
|
|
@ -197,6 +197,7 @@
|
|||
|
||||
;; load yasnippet
|
||||
(require 'yasnippet)
|
||||
(add-to-list 'yas/snippet-dirs prelude-snippets-dir)
|
||||
(yas/global-mode 1)
|
||||
|
||||
;; projectile is a project management mode
|
||||
|
|
Loading…
Reference in a new issue