mirror of
https://github.com/zoriya/flake.git
synced 2026-08-15 18:43:42 +00:00
Configure opencode
This commit is contained in:
@@ -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,
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user