From abfdab37ce127268f6410b89022417d3fa90e0ae Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Sat, 24 Jun 2023 13:17:03 +0200 Subject: [PATCH] fix(flash): possible nil for telescope integration --- lua/lazyvim/plugins/extras/editor/flash.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/lazyvim/plugins/extras/editor/flash.lua b/lua/lazyvim/plugins/extras/editor/flash.lua index b41ab2dd..1a64383a 100644 --- a/lua/lazyvim/plugins/extras/editor/flash.lua +++ b/lua/lazyvim/plugins/extras/editor/flash.lua @@ -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 = { [""] = flash },