1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-12-03 07:31:05 +01:00
nixvim/tests/test-sources/plugins/by-name/mini-indentscope/default.nix
Matt Sturgeon 824e048096 tests/fetch-tests: only apply required args
Using `functionArgs` and `intersectAttrs`, apply only the required args
to test module files.
2025-11-24 11:09:51 +00:00

35 lines
701 B
Nix

{ lib }:
{
empty = {
plugins.mini-indentscope.enable = true;
};
defaults = {
plugins.mini-indentscope = {
enable = true;
settings = {
draw = {
delay = 100;
predicate = lib.nixvim.mkRaw "function (scope) return not scope.body.is_incomplete end";
priority = 2;
};
mappings = {
object_scope = "ii";
object_scope_with_border = "ai";
goto_top = "[i";
goto_bottom = "]i";
};
options = {
border = "both";
indent_at_cursor = true;
n_lines = 10000;
try_as_border = false;
};
symbol = "";
};
};
};
}