nixos/home/neovim/config/lua/plugins/neogit.lua

16 lines
402 B
Lua

return {
"NeogitOrg/neogit",
dependencies = {
"nvim-lua/plenary.nvim",
"sindrets/diffview.nvim",
},
cmd = "Neogit",
init = function() vim.keymap.set("n", "<leader>g", "<cmd>Neogit<CR>") end,
config = true,
opts = {
disable_commit_confirmation = true,
disable_builtin_notifications = true,
integrations = { diffview = true },
},
}