Fix rainbow-identifiers faces update when theme is specified in dotfile
This commit is contained in:
parent
987871a749
commit
5979724964
|
@ -53,7 +53,6 @@ disabling some faces in order to make colored identifiers stand out."
|
||||||
|
|
||||||
:config
|
:config
|
||||||
(progn
|
(progn
|
||||||
(syl20bnr/tweak-theme-colors 'solarized-light)
|
|
||||||
(evil-leader/set-key "tc" 'rainbow-identifiers-mode)
|
(evil-leader/set-key "tc" 'rainbow-identifiers-mode)
|
||||||
|
|
||||||
;; functions to change saturation and lightness of colors
|
;; functions to change saturation and lightness of colors
|
||||||
|
|
|
@ -75,11 +75,11 @@
|
||||||
(defadvice load-theme (around spacemacs/load-theme-adv activate)
|
(defadvice load-theme (around spacemacs/load-theme-adv activate)
|
||||||
"Perform post load processing."
|
"Perform post load processing."
|
||||||
(let ((theme (ad-get-arg 0)))
|
(let ((theme (ad-get-arg 0)))
|
||||||
|
(setq spacemacs-cur-theme theme)
|
||||||
(if (and spacemacs-solarized-dark-createdp
|
(if (and spacemacs-solarized-dark-createdp
|
||||||
(eq 'solarized-dark theme))
|
(eq 'solarized-dark theme))
|
||||||
(create-solarized-theme 'dark 'solarized-dark))
|
(create-solarized-theme 'dark 'solarized-dark))
|
||||||
ad-do-it
|
ad-do-it
|
||||||
(setq spacemacs-cur-theme theme)
|
|
||||||
(spacemacs/post-theme-init theme)))
|
(spacemacs/post-theme-init theme)))
|
||||||
|
|
||||||
(defun spacemacs/post-theme-init (theme)
|
(defun spacemacs/post-theme-init (theme)
|
||||||
|
|
Loading…
Reference in a new issue