fix(flash): possible nil for telescope integration

This commit is contained in:
Folke Lemaitre committed 2023-06-24 13:17:03 +02:00
1 parent 12b57235a9
commit abfdab37ce
1 file changed
+1 -1
+1 -1
View File
@@ -55,7 +55,7 @@ return {
end, end,
}) })
end end
opts.defaults = vim.tbl_deep_extend("force", opts.defaults, { opts.defaults = vim.tbl_deep_extend("force", opts.defaults or {}, {
mappings = { mappings = {
n = { s = flash }, n = { s = flash },
i = { ["<c-s>"] = flash }, i = { ["<c-s>"] = flash },