1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-08 11:36:07 +01:00
nixvim/tests/test-sources/plugins/by-name/cloak/default.nix
saygo-png 79d53a50e2 tests: use __empty and __raw
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-11-05 21:26:13 +00:00

49 lines
913 B
Nix

{
empty = {
plugins.cloak.enable = true;
};
defaults = {
plugins.cloak = {
enable = true;
settings = {
enabled = true;
cloak_character = "*";
highlight_group = "Comment";
cloak_length.__raw = "nil";
try_all_patterns = true;
cloak_telescope = true;
patterns = [
{
file_pattern = ".env*";
cloak_pattern = "=.+";
replace.__raw = "nil";
}
];
};
};
};
example = {
plugins.cloak = {
enable = true;
settings = {
enabled = true;
cloak_character = "*";
highlight_group = "Comment";
patterns = [
{
file_pattern = [
".env*"
"wrangler.toml"
".dev.vars"
];
cloak_pattern = "=.+";
}
];
};
};
};
}