1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-08 11:36:07 +01:00
nixvim/tests/test-sources/plugins/by-name/git-conflict/default.nix
saygo-png 79d53a50e2 tests: use __empty and __raw
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-11-05 21:26:13 +00:00

47 lines
913 B
Nix

{
empty = {
plugins.git-conflict.enable = true;
};
defaults = {
plugins.git-conflict = {
enable = true;
settings = {
default_mappings = true;
default_commands = true;
disable_diagnostics = false;
list_opener = "copen";
highlights = {
incoming = "DiffAdd";
current = "DiffText";
ancestor.__raw = "nil";
};
};
};
};
example = {
plugins.git-conflict = {
enable = true;
settings = {
default_mappings = {
ours = "o";
theirs = "t";
none = "0";
both = "b";
next = "n";
prev = "p";
};
default_commands = true;
disable_diagnostics = false;
list_opener = "copen";
highlights = {
incoming = "DiffAdd";
current = "DiffText";
};
};
};
};
}