nix-community.nixvim/tests/test-sources/plugins/by-name/vim-suda/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
468 B
Nix
Raw Normal View History

2024-11-28 13:11:27 +01:00
{
empty = {
plugins.vim-suda.enable = true;
};
defaults = {
plugins.vim-suda = {
enable = true;
settings = {
path = "sudo";
noninteractive = 0;
prompt = "Password: ";
smart_edit = 0;
2024-11-28 13:11:27 +01:00
};
};
};
example = {
plugins.vim-suda = {
enable = true;
settings = {
path = "doas";
noninteractive = 1;
prompt = "Pass: ";
smart_edit = 1;
2024-11-28 13:11:27 +01:00
};
};
};
}