rainbow_parentheses.vim
2014. 11. 17.

I've been toying around with Clojure lately. As a newcommer to Lisp, I was baffled by those countless closing parentheses. Although I'm starting to getting used to them, I still find it extremely helpful to be able to differentiate the matching pairs by colors.

There are already a number of Vim plugins that does that, and the most popular choice seems to be rainbow_parentheses.vim by kien. However, it hasn't been updated for more than a year, and I found it to be a bit too unintuitive to set up correctly especially when I want to enable the plugin on-demand with vim-plug.

So I decided to fork the plugin and ended up rewriting almost every line of the code, you can find it here.

The benefits are as follows:

  1. It only has a single command that can't be more obvious. You simply don't have to learn anything to use it. It's a no-brainer.
  2. It automatically adjusts itself whenever the color scheme is changed.
  3. It uses the colors from the current color scheme, so the result should look pretty nice, or at least okay-ish, on most schemes without any configuration.

seoul256

seoul256

seoul256-light

seoul256-light

Tomorrow

Tomorrow

Tomorrow-Night

Tomorrow-Night

molokai

molokai

» capture | close