This commit is contained in:
2026-03-19 16:14:24 -05:00
parent 24d5bcc047
commit 792a99bf0f
15 changed files with 242 additions and 145 deletions

26
lua/_tea.lua Normal file
View File

@@ -0,0 +1,26 @@
plugin({
"folke/snacks.nvim",
dependencies = {
"sbulav/snacks-tea.nvim",
},
opts = {
tea = {
enabled = true,
tea = {
cmd = "tea", -- Path to tea binary
login = nil, -- Specific login to use (nil = auto-detect)
remote = "origin", -- Git remote to use
},
},
},
})
map("n", "<leader>gp", function()
Snacks.tea.pr()
end, { desc = "Tea Pull Requests (open)" })
map("n", "<leader>gP", function()
Snacks.tea.pr({ state = "all" })
end, { desc = "Tea Pull Requests (all)" })
map("n", "<leader>gc", function()
Snacks.tea.pr_create({})
end, { desc = "Tea Create Pull Request" })