Merge remote-tracking branch 'origin/master' into 2941-move-lib-to-explorer

This commit is contained in:
Alexander Courtis
2024-10-26 09:11:13 +11:00
18 changed files with 74 additions and 37 deletions

View File

@@ -91,7 +91,7 @@ end
---@param typ string as per log.types config
---@param node Node node to be inspected
---@param fmt string for string.format
---@vararg any arguments for string.format
---@param ... any arguments for string.format
function M.node(typ, node, fmt, ...)
if M.enabled(typ) then
M.raw(typ, string.format("[%s] [%s] %s\n%s\n", os.date("%Y-%m-%d %H:%M:%S"), typ, (fmt or "???"), vim.inspect(node, inspect_opts)), ...)