plugins/iswap: init
This commit is contained in:
parent
246781838c
commit
1b5d59e466
2 changed files with 45 additions and 0 deletions
12
plugins/by-name/iswap/default.nix
Normal file
12
plugins/by-name/iswap/default.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{ lib, ... }:
|
||||
lib.nixvim.plugins.mkNeovimPlugin {
|
||||
name = "iswap";
|
||||
package = "iswap-nvim";
|
||||
|
||||
maintainers = [ lib.maintainers.GaetanLepage ];
|
||||
|
||||
settingsExample = {
|
||||
debug = true;
|
||||
move_cursor = true;
|
||||
};
|
||||
}
|
||||
33
tests/test-sources/plugins/by-name/iswap/default.nix
Normal file
33
tests/test-sources/plugins/by-name/iswap/default.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{
|
||||
empty = {
|
||||
plugins.iswap.enable = true;
|
||||
};
|
||||
|
||||
defaults = {
|
||||
plugins.iswap = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
keys = "asdfghjklqwertyuiopzxcvbnm";
|
||||
hl_grey = "Comment";
|
||||
hl_snipe = "Search";
|
||||
hl_selection = "Visual";
|
||||
flash_style = "sequential";
|
||||
hl_flash = "IncSearch";
|
||||
hl_grey_priority = 1000;
|
||||
grey = "enable";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
example = {
|
||||
plugins.iswap = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
debug = true;
|
||||
move_cursor = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue