1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-08 11:36:07 +01:00
nixvim/plugins/by-name/rainbow/default.nix
saygo-png f5026663f6 plugins/rainbow: init
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-09-01 11:57:15 +00:00

38 lines
917 B
Nix

{ 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;
};
};
};
}