Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

How to enable rainbow-delimiters in eval-expression minibuffer? #57

Closed
pyfx opened this issue Dec 7, 2020 · 1 comment
Closed

How to enable rainbow-delimiters in eval-expression minibuffer? #57

pyfx opened this issue Dec 7, 2020 · 1 comment
Labels

Comments

@pyfx
Copy link

pyfx commented Dec 7, 2020

I have added this to my ~/.emacs:

(add-hook 'emacs-lisp-mode-hook 'rainbow-delimiters-mode)
(add-hook 'eval-expression-minibuffer-setup-hook 'rainbow-delimiters-mode)

But when I enter the minibuffer with M-: and type (((, I don't see rainbow delimiters. I do see rainbow delimiters in *scratch* buffer so that proves that rainbow-delimiters is installed correctly. It is only in the eval-expression minibuffer where I am unable to get rainbow delimiters working.

Is there a way to get rainbow-delimiters working in the eval-expression minibuffer?

@Fanael Fanael added the question label Dec 8, 2020
@Fanael
Copy link
Owner

Fanael commented Dec 8, 2020

rainbow-delimiters requires font-lock-mode to be enabled, and I'm not sure if that's possible in the eval-expression minibuffer.

@Fanael Fanael closed this as completed Dec 8, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants