Remove yasnippets from the list of default packages
Prelude provided just a basic config anyways. Anyone can still install the package manually and enable it in his/her personal config.
This commit is contained in:
parent
27e05c2170
commit
610133b511
4 changed files with 1 additions and 15 deletions
|
@ -275,16 +275,6 @@ Will only occur if prelude-whitespace is also enabled."
|
|||
(setq bookmark-default-file (expand-file-name "bookmarks" prelude-savefile-dir)
|
||||
bookmark-save-flag 1)
|
||||
|
||||
;; load yasnippet
|
||||
(require 'yasnippet)
|
||||
(add-to-list 'yas-snippet-dirs prelude-snippets-dir)
|
||||
(add-to-list 'yas-snippet-dirs prelude-personal-snippets-dir)
|
||||
(yas-global-mode 1)
|
||||
|
||||
;; term-mode does not play well with yasnippet
|
||||
(add-hook 'term-mode-hook (lambda ()
|
||||
(yas-minor-mode -1)))
|
||||
|
||||
;; projectile is a project management mode
|
||||
(require 'projectile)
|
||||
(setq projectile-cache-file (expand-file-name "projectile.cache" prelude-savefile-dir))
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
guru-mode helm helm-projectile ido-ubiquitous
|
||||
key-chord magit melpa rainbow-mode
|
||||
smartparens smex solarized-theme undo-tree
|
||||
volatile-highlights yasnippet zenburn-theme)
|
||||
volatile-highlights zenburn-theme)
|
||||
"A list of packages to ensure are installed at launch.")
|
||||
|
||||
(defun prelude-packages-installed-p ()
|
||||
|
|
4
init.el
4
init.el
|
@ -49,10 +49,6 @@ changes in this directory. All Emacs Lisp files there are loaded automatically
|
|||
by Prelude.")
|
||||
(defvar prelude-vendor-dir (expand-file-name "vendor" prelude-dir)
|
||||
"This directory houses packages that are not yet available in ELPA (or MELPA).")
|
||||
(defvar prelude-snippets-dir (expand-file-name "snippets" prelude-dir)
|
||||
"This folder houses additional yasnippet bundles distributed with Prelude.")
|
||||
(defvar prelude-personal-snippets-dir (expand-file-name "snippets" prelude-personal-dir)
|
||||
"This folder houses additional yasnippet bundles added by the users.")
|
||||
(defvar prelude-savefile-dir (expand-file-name "savefile" prelude-dir)
|
||||
"This folder stores all the automatically generated save/history-files.")
|
||||
(defvar prelude-modules-file (expand-file-name "prelude-modules.el" prelude-dir)
|
||||
|
|
Loading…
Reference in a new issue