rainbow-delimiters: Use hook section an configure faces
Move the hook config from use-package's config section to use-package's hook section. Have more visible rainbow-delimiters base face colors.
This commit is contained in:
parent
3f8446bc7f
commit
dbe5acc2c3
1 changed files with 11 additions and 2 deletions
|
@ -17,8 +17,17 @@
|
||||||
|
|
||||||
(use-package rainbow-delimiters
|
(use-package rainbow-delimiters
|
||||||
:ensure t
|
:ensure t
|
||||||
:config
|
:hook
|
||||||
(add-hook 'prog-mode-hook #'rainbow-delimiters-mode))
|
(prog-mode . rainbow-delimiters-mode)
|
||||||
|
:custom-face
|
||||||
|
(rainbow-delimiters-depth-2-face ((t (:inherit rainbow-delimiters-base-face :foreground "cornflower blue"))))
|
||||||
|
(rainbow-delimiters-depth-3-face ((t (:inherit rainbow-delimiters-base-face :foreground "sandy brown"))))
|
||||||
|
(rainbow-delimiters-depth-4-face ((t (:inherit rainbow-delimiters-base-face :foreground "yellow green"))))
|
||||||
|
(rainbow-delimiters-depth-5-face ((t (:inherit rainbow-delimiters-base-face :foreground "powder blue"))))
|
||||||
|
(rainbow-delimiters-depth-6-face ((t (:inherit rainbow-delimiters-base-face :foreground "orchid"))))
|
||||||
|
(rainbow-delimiters-depth-7-face ((t (:inherit rainbow-delimiters-base-face :foreground "lemon chiffon"))))
|
||||||
|
(rainbow-delimiters-depth-8-face ((t (:inherit rainbow-delimiters-base-face :foreground "goldenrod"))))
|
||||||
|
(rainbow-delimiters-depth-9-face ((t (:inherit rainbow-delimiters-base-face :foreground "dark cyan")))))
|
||||||
|
|
||||||
;; Hack to show only files known to git inside dired; needs the
|
;; Hack to show only files known to git inside dired; needs the
|
||||||
;; `git-find' shell script shim (taken from :open https://r0tty.org/git/dotfiles/emacs/tree/.emacs.d/config/development.el)
|
;; `git-find' shell script shim (taken from :open https://r0tty.org/git/dotfiles/emacs/tree/.emacs.d/config/development.el)
|
||||||
|
|
Loading…
Reference in a new issue