Configure opencode

This commit is contained in:
2026-02-10 11:22:02 +01:00
parent c1d7d596cf
commit 1401918355
5 changed files with 37 additions and 59 deletions
+22
View File
@@ -0,0 +1,22 @@
return {
{
"opencode-nvim",
keys = {
{
"<leader>l",
function() require("opencode").toggle() end,
desc = "Opencode",
mode = { "n", "v" },
}
},
---@type opencode.Opts
opts = {
provider = {
enabled = "terminal",
}
},
after = function(plug)
vim.g.opencode_opts = plug.opts
end,
},
}