mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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:
@ -2,10 +2,5 @@
|
||||
|
||||
;; indicators for empty lines past EOF
|
||||
(def-package! vi-tilde-fringe
|
||||
:commands 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))))
|
||||
:hook ((prog-mode text-mode conf-mode) . vi-tilde-fringe-mode))
|
||||
|
||||
|
Reference in New Issue
Block a user