GithubHelp home page GithubHelp logo

Comments (8)

jwintz avatar jwintz commented on July 19, 2024

My bad, it works perfectly, it's just that switching from spacemacs-theme, I was misleaded by

     `(rainbow-delimiters-mismatched-face ((,class :foreground ,err :overline t)))
     `(rainbow-delimiters-unmatched-face ((,class :foreground ,err :overline t)))

Note that mismatched-face is missing. Do you mind a PR ?

I however wonder how to set the rainbow-delimiters-matched-face, should it exist, so that it differs from the unmatched one.

from themes.

hlissner avatar hlissner commented on July 19, 2024

I'm a heavy user of rainbow-delimiters, so it seems odd that doom-one isn't configured properly for it. So give me a day to look into it before you file that PR.

from themes.

jwintz avatar jwintz commented on July 19, 2024

Hummm, from what I see here: https://github.com/Fanael/rainbow-delimiters/blob/master/rainbow-delimiters.el. No rainbow-delimiters-matched-face.

All I see is:

screen shot 2017-04-18 at 18 58 32

I'll wait, Thanks.

from themes.

hlissner avatar hlissner commented on July 19, 2024

Sorry for the delay. I'm looking into it now.

Odd, rainbow-delimiters-mismatched-face inherits from rainbow-delimiters-unmatched-face, so I didn't think it was necessary to add a rule for it, but I did. Maybe that will help?

I hear many complaints from people who load my theme after spacemacs-theme. I wonder if that is related?

from themes.

jwintz avatar jwintz commented on July 19, 2024

Concerning spacemacs-theme, not related. I've removed any occurence to in my elpa directory, so, no interaction :-(.

I've just updated doom-themes, and I already love the withespace mode new faces :-)

from themes.

hlissner avatar hlissner commented on July 19, 2024

Have any of the recent updates changed your situation? If not, could you run Emacs vanilla (emacs -Q) and the following:

(require 'rainbow-delimiters)
(rainbow-delimiters-mode +1)
(require 'doom-themes)
(load-theme 'doom-one t)

I however wonder how to set the rainbow-delimiters-matched-face, should it exist, so that it differs from the unmatched one.

You can modify faces with custom-set-faces, for example:

(custom-set-faces
 `(rainbow-delimiters-unmatched-face  ((t (:foreground ,(doom-color 'yellow) :bold t :inverse-video t))))
 `(rainbow-delimiters-mismatched-face ((t (:foreground ,(doom-color 'red) :bold t :inverse-video t))))
 ;; ...
 )

I already love the withespace mode new faces

Fantastic! :D

from themes.

jwintz avatar jwintz commented on July 19, 2024

Works great now ! Thanks !

from themes.

sorawee avatar sorawee commented on July 19, 2024

Sorry for gravedigging an old thread. I just want to drop information here in case it's useful to people who have the same problem as me.

I recently switched from Spacemacs theme to a doom theme and found that parentheses highlighting is not the same. I initially thought that it's this issue. Turns out that rainbow delimiter is functional as it should. The real problem is that Spacemacs has an integration with smartparens which highlights the currently matched parentheses in a different way. Doom doesn't seem to have this integration, so it looks different. This could be fixed by adding:

  (let ((c '((class color) (min-colors 89))))
    (custom-theme-set-faces
     'doom-one
     `(sp-show-pair-match-face ((,c (:foreground ,(doom-color 'green) :inherit bold :underline t))))))

from themes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.