You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
localpicker=require("octo.picker")
picker.issues({
cb=function(selected)
vim.fn.setreg("+", selected.obj.number, "c")
vim.notify("Copied the issue number to the clipboard")
end,
})
Idea applies to the other pickers as well.
The text was updated successfully, but these errors were encountered:
Following #609, it would be great to support arbitrary callbacks for the picker selections.
At the moment, the only two actions are defined here:
https://github.com/wd60622/octo.nvim/blob/1d321f1cba761d369bf3c9adb8113bd59d3ea667/lua/octo/pickers/telescope/provider.lua#L138-L143
It would be great to have an API like this:
Idea applies to the other pickers as well.
The text was updated successfully, but these errors were encountered: