mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-31 23:40:12 +02:00
145 lines
3.6 KiB
Nix
145 lines
3.6 KiB
Nix
{
|
|
empty = {
|
|
plugins.rainbow.enable = true;
|
|
};
|
|
|
|
default = {
|
|
plugins.rainbow = {
|
|
enable = true;
|
|
settings = {
|
|
conf = {
|
|
guifgs = [
|
|
"royalblue3"
|
|
"darkorange3"
|
|
"seagreen3"
|
|
"firebrick"
|
|
];
|
|
ctermfgs = [
|
|
"lightblue"
|
|
"lightyellow"
|
|
"lightcyan"
|
|
"lightmagenta"
|
|
];
|
|
guis = [ "" ];
|
|
cterms = [ "" ];
|
|
operators = "_,_";
|
|
contains_prefix = "TOP";
|
|
parentheses_options = "";
|
|
parentheses = [
|
|
"start=/(/ end=/)/ fold"
|
|
"start=/\\[/ end=/\\]/ fold"
|
|
"start=/{/ end=/}/ fold"
|
|
];
|
|
separately = {
|
|
markdown = {
|
|
parentheses_options = "containedin=markdownCode contained";
|
|
};
|
|
lisp = {
|
|
guifgs = [
|
|
"royalblue3"
|
|
"darkorange3"
|
|
"seagreen3"
|
|
"firebrick"
|
|
"darkorchid3"
|
|
];
|
|
};
|
|
haskell = {
|
|
parentheses = [
|
|
"start=/(/ end=/)/ fold"
|
|
"start=/\\[/ end=/\\]/ fold"
|
|
"start=/\v\{\ze[^-]/ end=/}/ fold"
|
|
];
|
|
};
|
|
tex = {
|
|
parentheses_options = "containedin=texDocZone";
|
|
parentheses = [
|
|
"start=/(/ end=/)/"
|
|
"start=/\\[/ end=/\\]/"
|
|
];
|
|
};
|
|
vim = {
|
|
parentheses_options = "containedin=vimFuncBody,vimExecute";
|
|
parentheses = [
|
|
"start=/(/ end=/)/"
|
|
"start=/\\[/ end=/\\]/"
|
|
"start=/{/ end=/}/ fold"
|
|
];
|
|
};
|
|
perl = {
|
|
syn_name_prefix = "perlBlockFoldRainbow";
|
|
};
|
|
stylus = {
|
|
parentheses = [ "start=/{/ end=/}/ fold contains=@colorableGroup" ];
|
|
};
|
|
css = 0;
|
|
sh = 0;
|
|
vimwiki = 0;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
example = {
|
|
plugins.rainbow = {
|
|
enable = true;
|
|
settings = {
|
|
active = 1;
|
|
conf = {
|
|
guifgs = [
|
|
"#7d8618"
|
|
"darkorange3"
|
|
"seagreen3"
|
|
"firebrick"
|
|
];
|
|
ctermfgs = [
|
|
"lightblue"
|
|
"lightyellow"
|
|
"lightcyan"
|
|
"lightmagenta"
|
|
];
|
|
guis = [ "" ];
|
|
cterms = [ "" ];
|
|
operators = "_,_";
|
|
parentheses = [
|
|
"start=/(/ end=/)/ fold"
|
|
"start=/\\[/ end=/\\]/ fold"
|
|
"start=/{/ end=/}/ fold"
|
|
];
|
|
separately = {
|
|
"*" = { };
|
|
markdown = {
|
|
parentheses_options = "containedin=markdownCode contained";
|
|
};
|
|
lisp = {
|
|
guifgs = [
|
|
"royalblue3"
|
|
"darkorange3"
|
|
"seagreen3"
|
|
"firebrick"
|
|
"darkorchid3"
|
|
];
|
|
};
|
|
haskell = {
|
|
parentheses = [
|
|
"start=/(/ end=/)/ fold"
|
|
"start=/\\[/ end=/\\]/ fold"
|
|
"start=/\v\{\ze[^-]/ end=/}/ fold"
|
|
];
|
|
};
|
|
vim = {
|
|
parentheses_options = "containedin=vimFuncBody";
|
|
};
|
|
perl = {
|
|
syn_name_prefix = "perlBlockFoldRainbow";
|
|
};
|
|
stylus = {
|
|
parentheses = [ "start=/{/ end=/}/ fold contains=@colorableGroup" ];
|
|
};
|
|
css = 0;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|