-
-
Notifications
You must be signed in to change notification settings - Fork 204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
faces for rainbow-delimiter-mode not applied #165
Comments
I think I have the same issue: Fanael/rainbow-delimiters#21 (comment) (demo here: https://asciinema.org/a/allvq9du5q9fpnr46d2xn3kiq). Enabling |
(use-package rainbow-delimiters
:config (add-hook 'prog-mode-hook 'rainbow-delimiters-mode))
;;; ...
(use-package color-theme-solarized
:init (require 'color-theme)
:config
(add-to-list 'custom-theme-load-path "emacs-color-theme-solarized")
(load-theme 'solarized t)) |
Scratch that, that config's not working now. Oddly enough it works when first installing the packages, but after restarting emacs it doesn't. |
Not sure if this'll help... but I'm seeing the following paragraph twice in
Even after following the instructions in #175, which meant the following config: (use-package color-theme-solarized
:init
(setq-default solarized-termcolors 256)
(require 'color-theme)
(load-theme 'solarized t)) The warnings go away if I don't load this package, so I'm assuming it's caused by this package. |
Any progress on this? |
If you prefer the way it looks with 16 colors, then setting TERM to xterm-color should make the warnings go away. If you enjoy the way it looks with 256 colors, then setting TERM to xterm-256color should make the warnings go away. |
I use 16 colors and this workaround, which works for me. |
I thought I was going nuts, so glad to find this issue. I am in the middle of refactoring my .emacs and was a bit upset when rainbow delimiters stopped working in solarized for some unknown reason because it looks fantastic with them. Thanks to @duud and @losingkeys I was able to get them working again using the Here is a minimal repro for the issue. It assumes you have the solarized theme and rainbow delimiters installed, and optionally for comparison purposes the Save the following code in a file called
Then if you start Emacs with
You don't get rainbow delimiters unless you have the outline-minor-mode toggle. |
Faces for rainbow-delimiter-mode are inherited from outline mode.
After starting emacs and opening an elisp file none of the outline-faces are defined (checked with describe-face), since rainbow-delimiter-mode faces inherit from outline-mode faces, coloring of delimiters isn't working.
I order to get this working I have to enable outline-mode (after doing this faces for outline-mode get defined) and restartd rainbow-delomiter-mode.
The text was updated successfully, but these errors were encountered: