Disable yas-minor-mode in term-mode
This commit is contained in:
parent
0bc4d51093
commit
37aa47f427
1 changed files with 4 additions and 0 deletions
|
@ -275,6 +275,10 @@ Will only occur if prelude-whitespace is also enabled."
|
||||||
(add-to-list 'yas-snippet-dirs prelude-personal-snippets-dir)
|
(add-to-list 'yas-snippet-dirs prelude-personal-snippets-dir)
|
||||||
(yas-global-mode 1)
|
(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))
|
||||||
|
|
Loading…
Reference in a new issue