fix(flash): possible nil for telescope integration

This commit is contained in:
Folke Lemaitre 2023-06-24 13:17:03 +02:00
parent 12b57235a9
commit abfdab37ce
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -55,7 +55,7 @@ return {
end,
})
end
opts.defaults = vim.tbl_deep_extend("force", opts.defaults, {
opts.defaults = vim.tbl_deep_extend("force", opts.defaults or {}, {
mappings = {
n = { s = flash },
i = { ["<c-s>"] = flash },