Check git log of the selected code.
Just call require("git-log").check_log()
.
Remember to save the file before calling this function.
Default configuration here.
{
-- args of git log
extra_args = {},
-- window options
win = {
border = "rounded",
width_ratio = 0.6,
height_ratio = 0.8,
},
keymap = {
-- keymap to close the window
close = "q",
},
}