forked from colonelpanic/dotfiles
disable yas in term-mode
This commit is contained in:
parent
5818c8c942
commit
6f2ae5082c
@ -484,6 +484,7 @@ The current directory is assumed to be the project's root otherwise."
|
|||||||
(progn
|
(progn
|
||||||
(yas-global-mode)
|
(yas-global-mode)
|
||||||
(diminish 'yas-minor-mode)
|
(diminish 'yas-minor-mode)
|
||||||
|
(add-hook 'term-mode-hook (lambda() (yas-minor-mode -1)))
|
||||||
(setq yas-prompt-functions
|
(setq yas-prompt-functions
|
||||||
(cons 'yas-ido-prompt
|
(cons 'yas-ido-prompt
|
||||||
(cl-delete 'yas-ido-prompt yas-prompt-functions)))))
|
(cl-delete 'yas-ido-prompt yas-prompt-functions)))))
|
||||||
|
Loading…
Reference in New Issue
Block a user