plugins/gitmessenger: migrate to mkVimPlugin

This commit is contained in:
Gaetan Lepage 2024-12-16 15:49:20 +01:00
parent ad87ec831b
commit 9062a66ee9
3 changed files with 154 additions and 89 deletions

View file

@ -2,4 +2,39 @@
empty = {
plugins.gitmessenger.enable = true;
};
defaults = {
plugins.gitmessenger = {
enable = true;
settings = {
close_on_cursor_moved = true;
include_diff = "none";
git_command = "git";
no_default_mappings = false;
into_popup_after_show = true;
always_into_popup = false;
extra_blame_args = "";
preview_mods = "";
max_popup_height = null;
max_popup_width = null;
date_format = "%c";
conceal_word_diff_marker = true;
floating_win_opts = { };
popup_content_margins = true;
};
};
};
example = {
plugins.gitmessenger = {
enable = true;
settings = {
extra_blame_args = "-w";
include_diff = "current";
floating_win_opts.border = "single";
};
};
};
}