From 78ec5c6eefb9b61056a8545ded33b99f7a9a9f72 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Fri, 16 Dec 2022 12:29:40 +0100 Subject: [PATCH] fix(debug): only concat debug info that is a string --- lua/noice/text/format/formatters.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/noice/text/format/formatters.lua b/lua/noice/text/format/formatters.lua index 59aaec53..dc7ef0d7 100644 --- a/lua/noice/text/format/formatters.lua +++ b/lua/noice/text/format/formatters.lua @@ -126,7 +126,7 @@ function M.debug(message, opts) vim.tbl_filter( ---@param t string function(t) - return t ~= nil + return type(t) == "string" end, debug ),