plugins/rainbow: init

Signed-off-by: saygo-png <saygo.mail@proton.me>
This commit is contained in:
saygo-png 2025-07-21 20:32:27 +02:00
parent 0c50ed9349
commit 55d1f98c5d
No known key found for this signature in database
GPG key ID: 86B6FCCC3563C00B
2 changed files with 183 additions and 0 deletions

View file

@ -0,0 +1,38 @@
{ lib, ... }:
lib.nixvim.plugins.mkVimPlugin {
name = "rainbow";
package = "rainbow";
description = "Rainbow parentheses improved shorter code, no level limit, smooth and fast with powerful configuration.";
maintainers = [ lib.maintainers.saygo-png ];
globalPrefix = "rainbow_";
settingsExample = {
active = 1;
conf = {
guifgs = [
"#7d8618"
"darkorange3"
"seagreen3"
"firebrick"
];
operators = "_,_";
parentheses = [
"start=/(/ end=/)/ fold"
"start=/\\[/ end=/\\]/ fold"
];
separately = {
"*" = { };
markdown = {
parentheses_options = "containedin=markdownCode contained";
};
haskell = {
parentheses = [
"start=/\\[/ end=/\\]/ fold"
"start=/\v\{\ze[^-]/ end=/}/ fold"
];
};
css = 0;
};
};
};
}