plugins/git-conflict: init

This commit is contained in:
Gaetan Lepage 2024-05-27 13:56:16 +02:00 committed by Gaétan Lepage
parent 4175fac0ea
commit a2afa56344
3 changed files with 142 additions and 0 deletions

View file

@ -0,0 +1,47 @@
{
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 = null;
};
};
};
};
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";
};
};
};
};
}