sponsor Vim development Vim logo go to HTTPS page Vim Book Ad

Rainbow Parenthesis : Highlight matching parens in a rainbow of colors

 script karma  Rating 177/68, Downloaded by 5455    Comments, bugs, improvements  Vim wiki

created by
john gilmore
script type
This script highlights matching parenthesis with a rainbow of colors. This make it visually very obvious which matches what. Most useful for Lisp.
install details
I dropped it into my ~/.vim/plugin directory. This make it show up all the time UNLESS you have syntax highlighting active. (because it's cleared out by the act of loading syntax highlighting) SO you must add a line like

runtime plugin/RainbowParenthsis.vim

to the END of your ~/.vim/syntax/lisp.vim file (or the syntax file for whatever language you are using)
You may also source it directly with :so <filename>.

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
RainbowParenthsis.vim 1.1 2005-03-12 6.0 john gilmore Now works nice(r) with more complex syntax highlighting (like c, for instance)
RainbowParenthsis.vim 1.0 2005-03-05 6.0 john gilmore Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
SourceForge.net Logo