retab and cleanup

This commit is contained in:
Ivar Fatland
2026-04-18 13:17:17 +02:00
parent a69580306d
commit 0707112c56
+3 -1
View File
@@ -35,15 +35,17 @@ do
local orig = debug.traceback
---@diagnostic disable-next-line: duplicate-set-field
debug.traceback = function(...)
local trace = full_trace()
local orig_trace = orig(...) -- TODO remove. find message instead
vim.fn.setqflist({}, "a", {
title = "Traceback",
lines = vim.split(trace, "\n"),
})
return trace
return orig_trace
end
end