1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-08 19:46:06 +01:00

plugins/mini-splitjoin: init

This commit is contained in:
Heitor Augusto 2025-11-02 02:25:28 -03:00 committed by Austin Horstman
parent 3e669baf95
commit d0f392f985
2 changed files with 66 additions and 0 deletions

View file

@ -0,0 +1,31 @@
{ lib, ... }:
lib.nixvim.plugins.mkNeovimPlugin {
name = "mini-splitjoin";
moduleName = "mini.splitjoin";
maintainers = [ lib.maintainers.HeitorAugustoLN ];
settingsExample = {
mappings = {
toggle = "gS";
split = "";
join = "";
};
detect = {
brackets = lib.nixvim.nestedLiteralLua "nil";
separator = ",";
exclude_regions = lib.nixvim.nestedLiteralLua "nil";
};
split = {
hooks_pre = lib.nixvim.nestedLiteral (lib.literalExpression "lib.nixvim.emptyTable");
hooks_post = lib.nixvim.nestedLiteral (lib.literalExpression "lib.nixvim.emptyTable");
};
join = {
hooks_pre = lib.nixvim.nestedLiteral (lib.literalExpression "lib.nixvim.emptyTable");
hooks_post = lib.nixvim.nestedLiteral (lib.literalExpression "lib.nixvim.emptyTable");
};
};
}