Skip to content

Commit 633ae88

Browse files
authored
fix(ai): Breaking change in opencode.nvim to add selection to opencode prompt (#1689)
fix(ai): breaking change in opencode to add selection to opencode prompt
1 parent 8d028f4 commit 633ae88

File tree

1 file changed

+1
-1
lines changed
  • lua/astrocommunity/ai/opencode-nvim

1 file changed

+1
-1
lines changed

lua/astrocommunity/ai/opencode-nvim/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ return {
5353
desc = "Ask about selection",
5454
}
5555
maps.v[prefix .. "+"] = {
56-
function() require("opencode").prompt("@selection", { append = true }) end,
56+
function() require("opencode").prompt "@this" end,
5757
desc = "Add selection to prompt",
5858
}
5959
maps.v[prefix .. "s"] = {

0 commit comments

Comments
 (0)