TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using the text editor vim (or MacVim) together with the LatexSuite plugin. It works good, so far, but there is one thing that annoys me: There is an awesome plugin, Rainbow Parenthesis, that will color matching parenthesis in different colors, which makes spotting unbalanced parentheses very easy.

However, I cannot get it to work properly with LatexSuite, because this package defines a whole bunch of syntax regions that override the regions the rainbow color plugin uses. I get the coloring at the top level, but not after a \section{Foo} command, apparently because text below a section becomes a new syntax region...

Did someone succeed in getting these two plugins working together? Or is there a tweaked version of LatexSuite using this type of parenthesis coloring?

share|improve this question
Has this question been answered? Please consider accepting Marcin's answer or supplying your own if you solved the problem. – qubyte Dec 10 '11 at 15:07

This plugin works with AutomaticTexPlugin: http://atp-vim.sourceforge.net/ Note that AutomaticTexPlugin has can close unclosed parenthesis with Tab key.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.