feat(nvim): lazygit popup panel

This commit is contained in:
stitchy 2025-02-08 23:44:32 +00:00
parent d62d891133
commit 19302b6d29
Signed by: stitchy
SSH key fingerprint: SHA256:yz2SoxdnY67tfY5Jzb0f2v8f5W3o/IF359kbcquWip8
2 changed files with 8 additions and 0 deletions

View file

@ -168,3 +168,10 @@ require("spaceman").setup({
}
})
-- Lazygit Panel
local Terminal = require('toggleterm.terminal').Terminal
local lazygit = Terminal:new({ cmd = "lazygit", hidden = true })
function _lazygit_toggle()
lazygit:toggle()
end