2022-08-24 13:21:21 +02:00
|
|
|
local M = {}
|
|
|
|
|
|
|
|
function M.setup()
|
2022-10-13 01:05:38 +02:00
|
|
|
-- This is here because we do not want to use neogit inside firenvim or vscode!
|
|
|
|
vim.cmd [[packadd! neogit]]
|
|
|
|
|
2022-08-24 13:21:21 +02:00
|
|
|
local neogit = require("neogit")
|
|
|
|
|
|
|
|
neogit.setup()
|
|
|
|
|
|
|
|
vim.keymap.set("n", "<C-g>", neogit.open)
|
|
|
|
end
|
|
|
|
|
|
|
|
return M
|