mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-08 19:46:06 +01:00
plugins/mini-basics: init
This commit is contained in:
parent
deacccdecd
commit
ad3f508f7b
2 changed files with 55 additions and 0 deletions
26
plugins/by-name/mini-basics/default.nix
Normal file
26
plugins/by-name/mini-basics/default.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
||||||
|
{ lib, ... }:
|
||||||
|
lib.nixvim.plugins.mkNeovimPlugin {
|
||||||
|
name = "mini-basics";
|
||||||
|
moduleName = "mini.basics";
|
||||||
|
|
||||||
|
maintainers = [ lib.maintainers.HeitorAugustoLN ];
|
||||||
|
|
||||||
|
settingsExample = {
|
||||||
|
options = {
|
||||||
|
basic = true;
|
||||||
|
extra_ui = false;
|
||||||
|
win_borders = "auto";
|
||||||
|
};
|
||||||
|
mappings = {
|
||||||
|
basic = true;
|
||||||
|
option_toggle_prefix = "\\";
|
||||||
|
windows = false;
|
||||||
|
move_with_alt = false;
|
||||||
|
};
|
||||||
|
autocommands = {
|
||||||
|
basic = true;
|
||||||
|
relnum_in_visual_mode = false;
|
||||||
|
};
|
||||||
|
silent = false;
|
||||||
|
};
|
||||||
|
}
|
||||||
29
tests/test-sources/plugins/by-name/mini-basics/default.nix
Normal file
29
tests/test-sources/plugins/by-name/mini-basics/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
||||||
|
{
|
||||||
|
empty = {
|
||||||
|
plugins.mini-basics.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
defaults = {
|
||||||
|
plugins.mini-basics = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
options = {
|
||||||
|
basic = true;
|
||||||
|
extra_ui = false;
|
||||||
|
win_borders = "auto";
|
||||||
|
};
|
||||||
|
mappings = {
|
||||||
|
basic = true;
|
||||||
|
option_toggle_prefix = "\\";
|
||||||
|
windows = false;
|
||||||
|
move_with_alt = false;
|
||||||
|
};
|
||||||
|
autocommands = {
|
||||||
|
basic = true;
|
||||||
|
relnum_in_visual_mode = false;
|
||||||
|
};
|
||||||
|
silent = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue