Skip to content
master
Switch branches/tags
Code
This branch is 12 commits ahead of kien:master.
Contribute

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

Rainbow Parentheses

example screenshot

Commands:

:RainbowParenthesesToggle       " toggle it on/off
:RainbowParenthesesLoadRound    " (), toggle default
:RainbowParenthesesLoadSquare   " []
:RainbowParenthesesLoadBraces   " {}
:RainbowParenthesesLoadChevrons " <>

Always On:

augroup RainbowParentheses
    au!
    au VimEnter * RainbowParenthesesToggle
    au Syntax * RainbowParenthesesLoadRound
    au Syntax * RainbowParenthesesLoadSquare
    au Syntax * RainbowParenthesesLoadBraces
augroup END

Options:

set color ordering

  • left column = vim
  • right column = gvim
  • order is from inner to outer

If less than 16 entries, then existing list of colors repeat until 16.

let g:rbpt_colorpairs = [
    \ ['3',         '808000'],
    \ ['6',         '008080'],
    \ ['202',       'ff5f00'],
    \ ['11',        'ffff00'],
    \ ['13',        'ff00ff'],
    \ ['10',        '00ff00'],
    \ ['45',        '00dfff'],
    \ ['9',         'ff0000'],
    \ ]

max parentheses to match

let g:rbpt_max = 16

bold parentheses

let g:rbpt_bold = 0

unknown

let g:rbpt_loadcmd_toggle = 0

About

Better Rainbow Parentheses

Resources

Releases

No releases published

Packages

No packages published