From e9f6ef0727481bc97ad8dc4e933451528343cf3b Mon Sep 17 00:00:00 2001 From: Stevan Freeborn <65925598+StevanFreeborn@users.noreply.github.com> Date: Mon, 15 Dec 2025 14:56:24 -0600 Subject: [PATCH] feat: add lazygit plugin --- lazy-lock.json | 1 + lua/plugins/lazygit.lua | 17 +++++++++++++++++ lua/plugins/treesitter.lua | 1 + 3 files changed, 19 insertions(+) create mode 100644 lua/plugins/lazygit.lua diff --git a/lazy-lock.json b/lazy-lock.json index 5636626..b440f93 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -12,6 +12,7 @@ "hererocks": { "branch": "master", "commit": "160228946bed9998f5e3b168bd0b66ba2690f8f3" }, "indent-blankline.nvim": { "branch": "master", "commit": "005b56001b2cb30bfa61b7986bc50657816ba4ba" }, "lazy.nvim": { "branch": "main", "commit": "1ea3c4085785f460fb0e46d2fe1ee895f5f9e7c1" }, + "lazygit.nvim": { "branch": "main", "commit": "2305deed25bc61b866d5d39189e9105a45cf1cfb" }, "lualine.nvim": { "branch": "master", "commit": "b8c23159c0161f4b89196f74ee3a6d02cdc3a955" }, "mason-lspconfig.nvim": { "branch": "main", "commit": "155eac5d8609a2f110041f8ac3491664cc126354" }, "mason.nvim": { "branch": "main", "commit": "ad7146aa61dcaeb54fa900144d768f040090bff0" }, diff --git a/lua/plugins/lazygit.lua b/lua/plugins/lazygit.lua new file mode 100644 index 0000000..e944f57 --- /dev/null +++ b/lua/plugins/lazygit.lua @@ -0,0 +1,17 @@ +return { + "kdheepak/lazygit.nvim", + lazy = true, + cmd = { + "LazyGit", + "LazyGitConfig", + "LazyGitCurrentFile", + "LazyGitFilter", + "LazyGitFilterCurrentFile", + }, + dependencies = { + "nvim-lua/plenary.nvim", + }, + keys = { + { "lg", "LazyGit", desc = "LazyGit" } + } +} diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua index 32edbb4..552b947 100644 --- a/lua/plugins/treesitter.lua +++ b/lua/plugins/treesitter.lua @@ -83,6 +83,7 @@ return { "toml", "ssh_config", "xml", + "go", }, indent = { enabled = true }, highlight = {