This commit is contained in:
Morten Olsen
2021-11-07 23:14:58 +01:00
parent 98b3e48dcc
commit b18c2ac5af

View File

@@ -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,