mirror of
https://github.com/morten-olsen/share.nvim.git
synced 2026-02-08 01:36:30 +01:00
doh
This commit is contained in:
@@ -39,7 +39,7 @@ M.share = function(provider_name, opts)
|
|||||||
actions.select_default:replace(function()
|
actions.select_default:replace(function()
|
||||||
actions.close(prompt_bufnr)
|
actions.close(prompt_bufnr)
|
||||||
local selection = action_state.get_selected_entry()
|
local selection = action_state.get_selected_entry()
|
||||||
provider.post(selection.value, table.concat(content, "\n"), opts)
|
provider.post(selection.value, table.concat(content, "\n"), opts or {})
|
||||||
end)
|
end)
|
||||||
return true
|
return true
|
||||||
end,
|
end,
|
||||||
|
|||||||
Reference in New Issue
Block a user