Skip to content

msmith491/rainbow_parentheses.vim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 

Repository files navigation

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]

About

🌈 Simpler Rainbow Parentheses

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 100.0%