diff --git a/lua/lz/n/handler/event.lua b/lua/lz/n/handler/event.lua index d67564a..b5e20c1 100644 --- a/lua/lz/n/handler/event.lua +++ b/lua/lz/n/handler/event.lua @@ -35,7 +35,10 @@ local M = { ---@diagnostic disable-next-line: assign-type-mismatch, param-type-mismatch ret.id = ret.id .. " " - .. (type(ret.pattern) == "string" and ret.pattern or table.concat(ret.pattern, ", ")) + .. ( + type(ret.pattern) == "string" and ret.pattern + or table.concat(ret.pattern --[[@as table]], ", ") + ) end end end