1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-17 07:52:47 +01:00
nixvim/tests/test-sources/plugins/by-name/mini-splitjoin/default.nix
2025-11-02 12:38:14 +00:00

35 lines
681 B
Nix

{ lib, ... }:
{
empty = {
plugins.mini-splitjoin.enable = true;
};
defaults = {
plugins.mini-splitjoin = {
enable = true;
settings = {
mappings = {
toggle = "gS";
split = "";
join = "";
};
detect = {
brackets = lib.nixvim.mkRaw "nil";
separator = ",";
exclude_regions = lib.nixvim.mkRaw "nil";
};
split = {
hooks_pre = lib.nixvim.emptyTable;
hooks_post = lib.nixvim.emptyTable;
};
join = {
hooks_pre = lib.nixvim.emptyTable;
hooks_post = lib.nixvim.emptyTable;
};
};
};
};
}