summaryrefslogtreecommitdiff
path: root/pkgs/custom-neovim/config/lua/lazygit.lua
diff options
context:
space:
mode:
authortriethyl <triethylammonium@pm.me>2025-11-02 13:51:06 -0500
committertriethyl <triethylammonium@pm.me>2025-11-02 13:51:06 -0500
commit6985be324fcc4e5655cd7f1807b0288d9298fb3b (patch)
treec2a49f0a8610c075926d601220a076f1132aff9c /pkgs/custom-neovim/config/lua/lazygit.lua
parent810e66c0ec4d9531a305cc8390dfb53cae24898c (diff)
neovim: minimized colorschemes
Diffstat (limited to 'pkgs/custom-neovim/config/lua/lazygit.lua')
-rw-r--r--pkgs/custom-neovim/config/lua/lazygit.lua16
1 files changed, 16 insertions, 0 deletions
diff --git a/pkgs/custom-neovim/config/lua/lazygit.lua b/pkgs/custom-neovim/config/lua/lazygit.lua
new file mode 100644
index 0000000..ff13a49
--- /dev/null
+++ b/pkgs/custom-neovim/config/lua/lazygit.lua
@@ -0,0 +1,16 @@
+-- Lazygit Integration
+
+Lazygit = function()
+ local buf = vim.api.nvim_create_buf(false, true)
+ local opts = {
+ relative = 'editor',
+ width = 80,
+ height = 20,
+ row = 5,
+ col = 5,
+ style = 'minimal',
+ border = 'rounded',
+ }
+ local win = vim.api.nvim_open_win(buf, true, opts)
+ vim.cmd.terminal("lazygit")
+end