nvim/lua/plugins/neogit.lua

17 lines
437 B
Lua
Raw Normal View History

return {
"TimUntersberger/neogit",
cond = not vim.g.vscode,
dependencies = {
"nvim-lua/plenary.nvim",
"sindrets/diffview.nvim",
},
2023-05-16 09:22:33 +01:00
cmd = "Neogit",
init = function() vim.keymap.set("n", "<leader>g", "<cmd>Neogit<CR>") end,
2023-05-16 09:22:33 +01:00
config = true,
opts = {
disable_commit_confirmation = true,
disable_builtin_notifications = true,
integrations = { diffview = true },
},
}