ui/vi-tilde-fringe: use minor mode instead of global mode
The global mode is a tad greedy, affecting buffers I don't want it to. So only activate it in certain places. This may change.
This commit is contained in:
parent
b28f6ed477
commit
8531b5245e
1 changed files with 1 additions and 6 deletions
|
@ -2,10 +2,5 @@
|
||||||
|
|
||||||
;; indicators for empty lines past EOF
|
;; indicators for empty lines past EOF
|
||||||
(def-package! vi-tilde-fringe
|
(def-package! vi-tilde-fringe
|
||||||
:commands vi-tilde-fringe-mode
|
:hook ((prog-mode text-mode conf-mode) . vi-tilde-fringe-mode))
|
||||||
:hook (doom-init-ui . global-vi-tilde-fringe-mode)
|
|
||||||
:config
|
|
||||||
(add-hook! +doom-dashboard-mode
|
|
||||||
(when (bound-and-true-p vi-tilde-fringe-mode)
|
|
||||||
(vi-tilde-fringe-mode -1))))
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue