mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-24 19:25:31 +02:00
plugins/cutlass-nvim: init
Signed-off-by: saygo-png <saygo.mail@proton.me>
This commit is contained in:
parent
d96069b1e1
commit
09126049a4
2 changed files with 68 additions and 0 deletions
25
plugins/by-name/cutlass/default.nix
Normal file
25
plugins/by-name/cutlass/default.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ lib, ... }:
|
||||
lib.nixvim.plugins.mkNeovimPlugin {
|
||||
name = "cutlass-nvim";
|
||||
moduleName = "cutlass";
|
||||
packPathName = "cutlass.nvim";
|
||||
|
||||
maintainers = [ lib.maintainers.saygo-png ];
|
||||
|
||||
settingsExample = {
|
||||
override_del = true;
|
||||
exclude = [
|
||||
"ns"
|
||||
"nS"
|
||||
"nx"
|
||||
"nX"
|
||||
"nxx"
|
||||
"nX"
|
||||
];
|
||||
registers = {
|
||||
select = "s";
|
||||
delete = "d";
|
||||
change = "c";
|
||||
};
|
||||
};
|
||||
}
|
43
tests/test-sources/plugins/by-name/cutlass/default.nix
Normal file
43
tests/test-sources/plugins/by-name/cutlass/default.nix
Normal file
|
@ -0,0 +1,43 @@
|
|||
{
|
||||
empty = {
|
||||
plugins.cutlass-nvim.enable = true;
|
||||
};
|
||||
|
||||
defaults = {
|
||||
plugins.cutlass-nvim = {
|
||||
enable = true;
|
||||
settings = {
|
||||
cut_key = "nil";
|
||||
override_del = "nil";
|
||||
exclude.__empty = { };
|
||||
registers = {
|
||||
select = "_";
|
||||
delete = "_";
|
||||
change = "_";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
example = {
|
||||
plugins.cutlass-nvim = {
|
||||
enable = true;
|
||||
settings = {
|
||||
override_del = true;
|
||||
exclude = [
|
||||
"ns"
|
||||
"nS"
|
||||
"nx"
|
||||
"nX"
|
||||
"nxx"
|
||||
"nX"
|
||||
];
|
||||
registers = {
|
||||
select = "s";
|
||||
delete = "d";
|
||||
change = "c";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue