🌈 Simpler Rainbow Parentheses
Vim script
Switch branches/tags
Nothing to show
Clone or download
#21 Compare This branch is 18 commits ahead of kien:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
autoload Try to avoid duplicate initialization Oct 29, 2015
plugin RainbowParentheses!! Oct 31, 2014
README.md Update README Apr 19, 2015

README.md

Better Much simpler Rainbow Parentheses

A heavily-rewritten fork of kien/rainbow_parentheses.vim.

  • Simpler commands and configuration
  • Automatic color extraction
  • Adjusts itself when color scheme is changed

Installation

Using vim-plug:

Plug 'junegunn/rainbow_parentheses.vim'

Commands

" Activate
:RainbowParentheses

" Deactivate
:RainbowParentheses!

" Toggle
:RainbowParentheses!!

" See the enabled colors
:RainbowParenthesesColors

" Activation based on file type
augroup rainbow_lisp
  autocmd!
  autocmd FileType lisp,clojure,scheme RainbowParentheses
augroup END

Customization

let g:rainbow#max_level = 16
let g:rainbow#pairs = [['(', ')'], ['[', ']']]

" List of colors that you do not want. ANSI code or #RRGGBB
let g:rainbow#blacklist = [233, 234]