mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-08 11:36:07 +01:00
27 lines
506 B
Nix
27 lines
506 B
Nix
{
|
|
lib,
|
|
...
|
|
}:
|
|
lib.nixvim.plugins.mkNeovimPlugin {
|
|
name = "cloak";
|
|
package = "cloak-nvim";
|
|
description = "Cloak allows you to overlay *'s over defined patterns.";
|
|
|
|
maintainers = [ lib.maintainers.GaetanLepage ];
|
|
|
|
settingsExample = {
|
|
enabled = true;
|
|
cloak_character = "*";
|
|
highlight_group = "Comment";
|
|
patterns = [
|
|
{
|
|
file_pattern = [
|
|
".env*"
|
|
"wrangler.toml"
|
|
".dev.vars"
|
|
];
|
|
cloak_pattern = "=.+";
|
|
}
|
|
];
|
|
};
|
|
}
|