Skip to content
This repository has been archived by the owner. It is now read-only.
Go to file

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time


GitHub tag GitHub last commit (master) License: Vim

Niji (Rainbow) is yet another rainbow parentheses plugin for Vim. It’s good for Common Lisp, Scheme and Clojure — with two colour schemes — out-of-the-box. Just install, and you’re good to go. The filetypes, matching characters and colours Niji uses are completely configurable (See :help niji-configuration for details).

Project Status

This project is unmaintained and archived. Feel free to exercise your right under the license to fork this project.


vim-niji highlighting some Clojure.

Niji highlighting the parentheses of some Clojure code from the Leiningen project. The colorscheme is Ethan Schoonover's Solarized and the keyword highlighting is provided by the static runtime files from Meikel Brandmeyer's VimClojure



If you don’t already have a preferred manager, I recommend installing Vundle. Once done, add the declaration for Niji to your .vimrc:

Plugin 'amdt/vim-niji'

And install:



If you’re using Tim Pope’s wonderful Pathogen, simply extract the archive to $HOME/.vim/bundle or better yet, clone the Git repository. In a UNIX shell, for example:

cd ~/.vim/bundle
git clone git://


Vimball and manual installation methods are described in doc/niji.txt.

Credit Where It’s Due

Whilst not a fork, Niji builds upon the work of various rainbow parantheses plugins, starting with RainbowParenthsis.vim by John Gilmore, rainbow_parenthsis.vim by Martin Krischik and Luc Hermitte, and rainbow_parentheses.vim by ‘kien’. The figure below shows the rough history and project pages for these plugins.

Niji also takes its default colour scheme from the Lisp syntax file provided in distributions of Vim and written by Dr. Charles E. Campbell, Jr.

     ‘Niji’ by Alastair Touw
o    May 6, 2013.
|    (
| |  ‘rainbow_parentheses.vim’ by ‘kien’
o |  October 12, 2011.
| |  (
| |
| o  ‘Lisp.vim’ by Dr. Charles E. Campbell, Jr.
|    November 16, 2010.
|    ‘rainbow_parenthsis.vim’ by Martin Krischik & Luc Hermitte
o    May 25, 2006.
|    (
|    ‘RainbowParenthsis.vim’ by John Gilmore
o    March 5, 2005.


Niji is released under the same terms as Vim itself. See :help license if you have Vim installed, or online at Vim's Sourceforge project page.

You can’t perform that action at this time.