nvim/lua/plugins/neogit.lua
Evie Litherland-Smith 7d3109f60e Separate LSP config and nvim-cmp
Make nvim-cmp standalone, lazy lone on InsertEnter and be used by neorg
to enable treesitter integration (no LSP available)

Move LSP config into lspconfig.lua

Optimise some startup conditions
2023-05-20 12:44:21 +01:00

16 lines
408 B
Lua

return {
"TimUntersberger/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 },
},
}