mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 16:39:00 +02:00
49 lines
899 B
Nix
49 lines
899 B
Nix
{
|
|
empty = {
|
|
plugins.cloak.enable = true;
|
|
};
|
|
|
|
defaults = {
|
|
plugins.cloak = {
|
|
enable = true;
|
|
|
|
settings = {
|
|
enabled = true;
|
|
cloak_character = "*";
|
|
highlight_group = "Comment";
|
|
cloak_length = null;
|
|
try_all_patterns = true;
|
|
cloak_telescope = true;
|
|
patterns = [
|
|
{
|
|
file_pattern = ".env*";
|
|
cloak_pattern = "=.+";
|
|
replace = null;
|
|
}
|
|
];
|
|
};
|
|
};
|
|
};
|
|
|
|
example = {
|
|
plugins.cloak = {
|
|
enable = true;
|
|
|
|
settings = {
|
|
enabled = true;
|
|
cloak_character = "*";
|
|
highlight_group = "Comment";
|
|
patterns = [
|
|
{
|
|
file_pattern = [
|
|
".env*"
|
|
"wrangler.toml"
|
|
".dev.vars"
|
|
];
|
|
cloak_pattern = "=.+";
|
|
}
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|