Disable tilde fringe in shell/comint modes

This commit is contained in:
Russell Sim 2016-02-26 09:10:47 +11:00 committed by Fabien Dubosson
parent a63bf2ab13
commit c115a66210

View file

@ -395,7 +395,13 @@
;; if so, disable vi-tilde-fringe-mode
(add-hook 'after-change-major-mode-hook (lambda ()
(when buffer-read-only
(vi-tilde-fringe-mode -1)))))
(vi-tilde-fringe-mode -1))))
(spacemacs/add-to-hooks (lambda () (vi-tilde-fringe-mode -1))
'(comint-mode-hook
eshell-mode-hook
eww-mode-hook
shell-mode-hook
term-mode-hook)))
:config
(spacemacs|hide-lighter vi-tilde-fringe-mode))))