Fanael / rainbow-delimiters

Emacs rainbow delimiters mode
GNU General Public License v3.0
685 stars 33 forks source link

How to make rainbow-delimiters work in emacs-shell? #54

Closed taquangtrung closed 4 years ago

taquangtrung commented 4 years ago

Hi,

Recently, I switched from using shell to eshell and realized that rainbow-deliminters doesn't work in eshell: the parentheses are not highlighted (it works fine with shell).

Do you know how to fix this problem?

Thank you!

Fanael commented 4 years ago

eshell is doing something weird with font-lock-mode, because re-enabling font-lock-mode after enabling rainbow-delimiters-mode fixes the problem for me.

taquangtrung commented 4 years ago

Thank you for the update. I found out that re-enabling font-lock-mode breaks the highlight color of eshell's prompt as well... Perhaps this is eshell's problem.