mirror of
https://github.com/nix-community/nixvim.git
synced 2025-12-12 20:11:08 +01:00
plugins/mini-cmdline: init
This commit is contained in:
parent
abd3e966f3
commit
f61667b37e
2 changed files with 61 additions and 0 deletions
48
tests/test-sources/plugins/by-name/mini-cmdline/default.nix
Normal file
48
tests/test-sources/plugins/by-name/mini-cmdline/default.nix
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
{ lib }:
|
||||
{
|
||||
empty = {
|
||||
plugins.mini-cmdline.enable = true;
|
||||
};
|
||||
|
||||
defaults = {
|
||||
plugins.mini-cmdline = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
autocomplete = {
|
||||
enable = true;
|
||||
delay = 0;
|
||||
predicate = lib.nixvim.mkRaw "nil";
|
||||
map_arrows = true;
|
||||
};
|
||||
|
||||
autocorrect = {
|
||||
enable = true;
|
||||
func = lib.nixvim.mkRaw "nil";
|
||||
};
|
||||
|
||||
autopeek = {
|
||||
enable = true;
|
||||
n_context = 1;
|
||||
|
||||
window = {
|
||||
config = lib.nixvim.emptyTable;
|
||||
statuscolumn = lib.nixvim.mkRaw "nil";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
example = {
|
||||
plugins.mini-cmdline = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
autocomplete.enable = true;
|
||||
autocorrect.enable = true;
|
||||
autopeek.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue