debug and problems
This commit is contained in:
11
lua/plugins/config/opencode.lua
Normal file
11
lua/plugins/config/opencode.lua
Normal file
@@ -0,0 +1,11 @@
|
||||
---@type opencode.Opts
|
||||
vim.g.opencode_opts = {
|
||||
-- Your configuration, if any.
|
||||
}
|
||||
|
||||
-- Required for `opts.events.reload`.
|
||||
vim.o.autoread = true
|
||||
|
||||
vim.keymap.set({ "n", "x" }, "<leader>oa", function()
|
||||
require("opencode").ask("@this: ", { submit = true })
|
||||
end, { desc = "Ask opencode with selection" })
|
||||
Reference in New Issue
Block a user