Fanael / rainbow-delimiters

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

parenthesis not colored in latex mode #26

Closed dinojr closed 8 years ago

dinojr commented 8 years ago

I'm running rainbow-delimiters 20160430 from melpa. In a LaTeX buffer, only square and curly brackets are colored. Parenthesis aren't. Why is that  ?

Please see the attached screenshot, from emacs -Q. rainbow

Fanael commented 8 years ago

Cannot reproduce. What's the version of Emacs?

dinojr commented 8 years ago

The problem arises with both Emacs24 et 25 but I discovered it must be a conflict with another package: if I don't run (package-initialize) but (load "~/.emacs.d/elpa/rainbow-delimiters-20160430.2358/rainbow-delimiters.el"), everything is fine.

yanghaoxie commented 5 years ago

It seems this problem is related to auctex's font-lock. If you disable auctex font-lock by (setq TeX-install-font-lock 'ignore), the problem is solved.

But, since I lack the skills of emacs-lisp, I think I may not find a way to make these two awesome packages compatible.

I am really appreciate it if you can help me to solve this problem.