Emacs: Fix custom-faces definition for rainvow-delimiters.
This commit is contained in:
parent
5421bbd971
commit
9665dd40b4
|
@ -1,6 +1,6 @@
|
||||||
;;; common.el --- Common programming settings. -*- lexical-binding: t; -*-
|
;;; common.el --- Common programming settings. -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
;; Time-stamp: <2020-03-09T15:35:25+0100>
|
;; Time-stamp: <2020-03-10T10:28:52+0100>
|
||||||
|
|
||||||
;;; Commentary:
|
;;; Commentary:
|
||||||
|
|
||||||
|
@ -212,18 +212,18 @@ year if mode is derived from prog-mode."
|
||||||
;; Highlights parentheses, brackets or braces according to their depth.
|
;; Highlights parentheses, brackets or braces according to their depth.
|
||||||
(use-package rainbow-delimiters
|
(use-package rainbow-delimiters
|
||||||
:custom (rainbow-delimiters-max-face-count 2)
|
:custom (rainbow-delimiters-max-face-count 2)
|
||||||
:custom-face ((rainbow-delimiters-depth-1-face
|
:custom-face (rainbow-delimiters-depth-1-face
|
||||||
((t (:inherit rainbow-delimiters-base-face
|
((t (:inherit rainbow-delimiters-base-face
|
||||||
:foreground "LightPink"))))
|
:foreground "LightPink"))))
|
||||||
(rainbow-delimiters-depth-2-face
|
(rainbow-delimiters-depth-2-face
|
||||||
((t (:inherit rainbow-delimiters-base-face
|
((t (:inherit rainbow-delimiters-base-face
|
||||||
:foreground "LightGreen"))))
|
:foreground "LightGreen"))))
|
||||||
(rainbow-delimiters-depth-3-face
|
(rainbow-delimiters-depth-3-face
|
||||||
((t (:inherit rainbow-delimiters-base-face
|
((t (:inherit rainbow-delimiters-base-face
|
||||||
:foreground "MediumPurple1"))))
|
:foreground "MediumPurple1"))))
|
||||||
(rainbow-delimiters-depth-4-face
|
(rainbow-delimiters-depth-4-face
|
||||||
((t (:inherit rainbow-delimiters-base-face
|
((t (:inherit rainbow-delimiters-base-face
|
||||||
:foreground "LightSkyBlue")))))
|
:foreground "LightSkyBlue"))))
|
||||||
:hook (prog-mode . rainbow-delimiters-mode))
|
:hook (prog-mode . rainbow-delimiters-mode))
|
||||||
|
|
||||||
(use-package rainbow-mode
|
(use-package rainbow-mode
|
||||||
|
|
Loading…
Reference in New Issue
Block a user