mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
29 lines
468 B
Nix
29 lines
468 B
Nix
{
|
|
empty = {
|
|
plugins.vim-suda.enable = true;
|
|
};
|
|
|
|
defaults = {
|
|
plugins.vim-suda = {
|
|
enable = true;
|
|
settings = {
|
|
path = "sudo";
|
|
noninteractive = 0;
|
|
prompt = "Password: ";
|
|
smart_edit = 0;
|
|
};
|
|
};
|
|
};
|
|
|
|
example = {
|
|
plugins.vim-suda = {
|
|
enable = true;
|
|
settings = {
|
|
path = "doas";
|
|
noninteractive = 1;
|
|
prompt = "Pass: ";
|
|
smart_edit = 1;
|
|
};
|
|
};
|
|
};
|
|
}
|