migrate to lazy.nvim

This commit is contained in:
Salar Rahmanian 2023-02-10 21:20:55 -08:00
parent 4a91484477
commit 34e314944e
22 changed files with 570 additions and 892 deletions

18
lua/plugins/neogit.lua Normal file
View file

@ -0,0 +1,18 @@
return {
"TimUntersberger/neogit",
cmd = "Neogit",
dependencies = { "sindrets/diffview.nvim" },
config = function()
require("neogit").setup({
integrations = {
diffview = true,
},
})
vim.api.nvim_set_keymap(
"n",
"<leader>ng",
[[<cmd>lua require('neogit').open({ kind = "split" })<cr>]],
{ noremap = true, silent = true }
)
end,
}