-
Notifications
You must be signed in to change notification settings - Fork 1
Home
This is a maintained mirror of http://www.vim.org/scripts/script.php?script_id=1561
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](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.
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()
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.
This fork provides for a small fix to the plugin. It also customises the parenthesis colours for a dark background.
Fork of original. Forked primarily to remove the background colour on the syntax highlighting.
Remove the background color in terminal mode.
- 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.
/* vim: set textwidth=0 wrap tabstop=8 shiftwidth=4 softtabstop=4 noexpandtab : */ /* vim: set filetype=mediawiki fileencoding=utf8 fileformat=unix foldmethod=marker : */ /* vim: set nospell spelllang=en_gb : */