rainbow
URL: https://github.com/luochen1990/rainbow/
Maintainers: Saygo
Rainbow parentheses improved — shorter code, no level limit, smooth and fast with powerful configuration.
plugins.rainbow.enable
Whether to enable rainbow.
Type: boolean
Default:
false
Example:
true
Declared by:
plugins.rainbow.package
The rainbow package to use.
Type: package
Default:
pkgs.vimPlugins.rainbow
Declared by:
plugins.rainbow.autoLoad
Whether to automatically load rainbow when neovim starts.
Type: boolean
Default:
true
Example:
false
Declared by:
plugins.rainbow.settings
The configuration options for rainbow without the rainbow_
prefix.
For example, the following settings are equivialent to these :setglobal
commands:
foo_bar = 1
->:setglobal rainbow_foo_bar=1
hello = "world"
->:setglobal rainbow_hello="world"
some_toggle = true
->:setglobal rainbow_some_toggle
other_toggle = false
->:setglobal norainbow_other_toggle
Type: attribute set of anything
Default:
{ }
Example:
{
active = 1;
conf = {
guifgs = [
"#7d8618"
"darkorange3"
"seagreen3"
"firebrick"
];
operators = "_,_";
parentheses = [
"start=/(/ end=/)/ fold"
"start=/\\[/ end=/\\]/ fold"
];
separately = {
"*" = { };
css = 0;
haskell = {
parentheses = [
"start=/\\[/ end=/\\]/ fold"
"start=/v{ze[^-]/ end=/}/ fold"
];
};
markdown = {
parentheses_options = "containedin=markdownCode contained";
};
};
};
}
Declared by: