1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-08 19:46:06 +01:00
nixvim/plugins/by-name/mini-snippets/default.nix
2025-11-02 12:40:53 +00:00

25 lines
629 B
Nix

{ lib, ... }:
lib.nixvim.plugins.mkNeovimPlugin {
name = "mini-snippets";
moduleName = "mini.snippets";
maintainers = [ lib.maintainers.HeitorAugustoLN ];
settingsExample = {
snippets = lib.nixvim.nestedLiteral (lib.literalExpression "lib.nixvim.emptyTable");
mappings = {
expand = "<C-j>";
jump_next = "<C-l>";
jump_prev = "<C-h>";
stop = "<C-c>";
};
expand = {
prepare = lib.nixvim.nestedLiteralLua "nil";
match = lib.nixvim.nestedLiteralLua "nil";
select = lib.nixvim.nestedLiteralLua "nil";
insert = lib.nixvim.nestedLiteralLua "nil";
};
};
}