Rainbow Parenthesis Bundle[]
Description[]
This is a simple rainbow colour plug-in for those who want an simple light weight rainbow colour syntax plug-in that supports `(…)`, `[…]`, `{…}` and `<…>`.
If you need something more powerful and configurable try [Rainbow Parentheses Improved](https://github.com/luochen1990).
This is the original for http://www.vim.org/scripts/script.php?script_id=1561
Based on the original rainbow_parenthesis from john gilmore but enhanced for gui mode.
Installation[]
Install from https://github.com/krischik/vim-rainbow using dein (https://github.com/Shougo/dein.vim) or similar:
call dein#begin('$HOME/vimfiles/bundles')
call dein#add('krischik/vim-rainbow')
call dein#end()
call dein#install()
References[]
Vim-Script | https://www.vim.org/scripts/script.php?script_id=1561 |
Source | https://github.com/krischik/vim-rainbow |
Wiki | https://github.com/krischik/vim-rainbow/wiki |
Releases | https://github.com/krischik/vim-rainbow/releases |
Issues | https://github.com/krischik/vim-rainbow/issues |
Discussions | https://github.com/krischik/vim-rainbow/discussions |
Comments[]
slve improvements[]
My technique only worked up to 16 level. Which is isn't any good for languages like lisp. slve fixed this with a recursive solution. Very need.
before[]
File:Https://github.com/krischik/vim-rainbow/raw/master/Pictures/before.png
after[]
dark[]
File:Https://github.com/krischik/vim-rainbow/raw/master/Pictures/after.png
light[]
File:Https://github.com/krischik/vim-rainbow/raw/master/Pictures/slve.png
autre improvements[]
This fork provides for a small fix to the plugin. It also customises the parenthesis colours for a dark background.
File:Https://github.com/krischik/vim-rainbow/raw/master/Pictures/autre.png
charlietanksley improvements[]
Fork of original. Forked primarily to remove the background colour on the syntax highlighting.
File:Https://github.com/krischik/vim-rainbow/raw/master/Pictures/charlietanksley.png
jwilkins improvements[]
Remove the background color in terminal mode.
File:Https://github.com/krischik/vim-rainbow/raw/master/Pictures/jwilkins.png
krischik improvements[]
Fixed all the bugs and merged all the code.
Vim got a little stricter on syntax highlights and some of slve tricks didn't work any more. I also added an option to choose between my colour set and those of the other contributors.
Increased the levels before repeating back to 16. Slve repeated after 10.
Switched the background colours around for better contrast between level 15 and level 0.
File:Https://github.com/krischik/vim-rainbow/raw/master/Pictures/fixed.png