From 935b4069ce73b60ba9075bf05ee6ab50ed3af1a9 Mon Sep 17 00:00:00 2001 From: hrsh7th <629908+hrsh7th@users.noreply.github.com> Date: Mon, 8 May 2023 11:41:15 +0900 Subject: [PATCH] Improve misc.merge --- lua/cmp/utils/misc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/cmp/utils/misc.lua b/lua/cmp/utils/misc.lua index 9e69b4f..fda6f47 100644 --- a/lua/cmp/utils/misc.lua +++ b/lua/cmp/utils/misc.lua @@ -90,7 +90,7 @@ misc.merge = function(tbl1, tbl2) for k, v in pairs(tbl1) do if tbl2[k] == nil then if v ~= misc.none then - new_tbl[k] = v + new_tbl[k] = misc.merge(v, {}) else new_tbl[k] = nil end