Merge remote-tracking branch 'origin/master' into 2941-move-lib-to-explorer
This commit is contained in:
@@ -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)), ...)
|
||||
|
||||
Reference in New Issue
Block a user