mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-22 08:53:28 +02:00
plugins/vim-suda: init
This commit is contained in:
parent
fc9178d124
commit
05331006a4
2 changed files with 70 additions and 0 deletions
29
tests/test-sources/plugins/by-name/vim-suda/default.nix
Normal file
29
tests/test-sources/plugins/by-name/vim-suda/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue