move rainbow-mode around a bit

This commit is contained in:
Miranda Marquez 2024-07-28 17:27:07 -08:00
parent e0fb07cb85
commit 3f2cd8dd10

View File

@ -383,8 +383,6 @@ If the current window occupies the whole frame, split it."
(use-package page-break-lines (use-package page-break-lines
:init :init
(add-hook 'emacs-lisp-mode-hook #'page-break-lines-mode)) (add-hook 'emacs-lisp-mode-hook #'page-break-lines-mode))
(use-package rainbow-mode
:hook (prog-mode . rainbow-mode))
(use-package powershell (use-package powershell
:mode ("\\.ps1\\'" . powershell-mode)) :mode ("\\.ps1\\'" . powershell-mode))
@ -395,6 +393,9 @@ If the current window occupies the whole frame, split it."
(use-package diminish (use-package diminish
:config (diminish 'visual-line-mode)) :config (diminish 'visual-line-mode))
(use-package rainbow-mode
:diminish
:hook (prog-mode . rainbow-mode))
;; Keybinding manager ;; Keybinding manager
(use-package general (use-package general
:demand t :demand t