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)
|
(setq bookmark-default-file (expand-file-name "bookmarks" prelude-savefile-dir)
|
||||||
bookmark-save-flag 1)
|
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
|
;; projectile is a project management mode
|
||||||
(require 'projectile)
|
(require 'projectile)
|
||||||
(setq projectile-cache-file (expand-file-name "projectile.cache" prelude-savefile-dir))
|
(setq projectile-cache-file (expand-file-name "projectile.cache" prelude-savefile-dir))
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
guru-mode helm helm-projectile ido-ubiquitous
|
guru-mode helm helm-projectile ido-ubiquitous
|
||||||
key-chord magit melpa rainbow-mode
|
key-chord magit melpa rainbow-mode
|
||||||
smartparens smex solarized-theme undo-tree
|
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.")
|
"A list of packages to ensure are installed at launch.")
|
||||||
|
|
||||||
(defun prelude-packages-installed-p ()
|
(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.")
|
by Prelude.")
|
||||||
(defvar prelude-vendor-dir (expand-file-name "vendor" prelude-dir)
|
(defvar prelude-vendor-dir (expand-file-name "vendor" prelude-dir)
|
||||||
"This directory houses packages that are not yet available in ELPA (or MELPA).")
|
"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)
|
(defvar prelude-savefile-dir (expand-file-name "savefile" prelude-dir)
|
||||||
"This folder stores all the automatically generated save/history-files.")
|
"This folder stores all the automatically generated save/history-files.")
|
||||||
(defvar prelude-modules-file (expand-file-name "prelude-modules.el" prelude-dir)
|
(defvar prelude-modules-file (expand-file-name "prelude-modules.el" prelude-dir)
|
||||||
|
|
Loading…
Reference in a new issue