Home

Awesome

git-log.nvim

Check git log of the selected code.

More neovim plugins

Usage

Just call require("git-log").check_log().

Remember to save the file before calling this function.

<img src="https://github.com/niuiic/assets/blob/main/git-log.nvim/usage.gif" />

Dependencies

Config

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",
	},
}