Fix diminishment for whitespace-related stuff
This commit is contained in:
parent
8ffd318800
commit
e80e5bcd79
@ -32,18 +32,14 @@
|
|||||||
;; Visualize whitespace. In a very chill and invisible way.
|
;; Visualize whitespace. In a very chill and invisible way.
|
||||||
(use-package whitespace
|
(use-package whitespace
|
||||||
:straight (:type built-in)
|
:straight (:type built-in)
|
||||||
:diminish whitespace-mode
|
:diminish (whitespace-mode org-indent-mode org-vw-mode auto-fill-mode)
|
||||||
:custom
|
:custom
|
||||||
(whitespace-style '(face lines-tail))
|
(whitespace-style '(face lines-tail))
|
||||||
(whitespace-line-column 80)
|
(whitespace-line-column 80)
|
||||||
(fill-column whitespace-line-column)
|
(fill-column whitespace-line-column)
|
||||||
:hook
|
:hook
|
||||||
(prog-mode . whitespace-mode)
|
(prog-mode . whitespace-mode)
|
||||||
(org-mode . auto-fill-mode)
|
(org-mode . auto-fill-mode))
|
||||||
:config
|
|
||||||
(diminish 'org-indent-mode)
|
|
||||||
(diminish 'org-vw-mode)
|
|
||||||
(diminish 'auto-fill-mode))
|
|
||||||
(use-package image-mode
|
(use-package image-mode
|
||||||
:straight (:type built-in)
|
:straight (:type built-in)
|
||||||
:config
|
:config
|
||||||
|
Loading…
Reference in New Issue
Block a user