Move diminished things to after diminish, so they diminish

This commit is contained in:
MitchMarq42 2023-03-06 08:11:08 -09:00
parent ea2daa4b6e
commit f725513913

View File

@ -19,13 +19,7 @@
(set-language-environment "UTF-8") (set-language-environment "UTF-8")
(global-prettify-symbols-mode 1)) (global-prettify-symbols-mode 1))
;; diminish
(use-package diminish)
(use-package compat) (use-package compat)
(use-package eldoc
:elpaca nil
:diminish
:custom (eldoc-echo-area-use-multiline-p nil))
;; save minibuffer history, see Vertico below ;; save minibuffer history, see Vertico below
(use-package savehist (use-package savehist
@ -53,16 +47,6 @@
(find-alternate-file (concat "/sudo:root@localhost:" buffer-file-name)))) (find-alternate-file (concat "/sudo:root@localhost:" buffer-file-name))))
(advice-add #'find-file :after #'find-file-sudo)) (advice-add #'find-file :after #'find-file-sudo))
;; Visualize whitespace. In a very chill and invisible way. ;; Visualize whitespace. In a very chill and invisible way.
(use-package whitespace
:elpaca nil
:diminish (whitespace-mode org-indent-mode org-vw-mode auto-fill-mode)
:custom
(whitespace-style '(face lines-tail))
(whitespace-line-column 80)
(fill-column 80)
:hook
(prog-mode . whitespace-mode)
(org-mode . auto-fill-mode))
(use-package image-mode (use-package image-mode
:elpaca nil :elpaca nil
:config :config
@ -77,12 +61,9 @@
(require 'edraw-org) (require 'edraw-org)
(edraw-org-setup-default)) (edraw-org-setup-default))
;; ...and finally, sync files with disk changes
(use-package autorevert
:elpaca nil
:diminish auto-revert-mode
:config (global-auto-revert-mode))
;; diminish
(use-package diminish)
;; Keybinding manager ;; Keybinding manager
(use-package general (use-package general
:demand t :demand t
@ -90,6 +71,25 @@
:config (mitch/general-config)) :config (mitch/general-config))
(elpaca-wait) (elpaca-wait)
(use-package eldoc
:elpaca nil
:diminish
:custom (eldoc-echo-area-use-multiline-p nil))
(use-package whitespace
:elpaca nil
:diminish (whitespace-mode org-indent-mode org-vw-mode auto-fill-mode)
:custom
(whitespace-style '(face lines-tail))
(whitespace-line-column 80)
(fill-column 80)
:hook
(prog-mode . whitespace-mode)
(org-mode . auto-fill-mode))
;; ...and finally, sync files with disk changes
(use-package autorevert
:elpaca nil
:diminish auto-revert-mode
:config (global-auto-revert-mode))
;; (use-package use-package-ensure-system-package) ;; (use-package use-package-ensure-system-package)
;; load evil ;; load evil