rm unneeded error landing

nvim by default shows stackrace path so I dont think we should be having this.
This commit is contained in:
siduck76 2021-07-23 18:17:31 +05:30 committed by GitHub
parent 766d52db12
commit 559acbd135
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 5 deletions

View File

@ -13,11 +13,7 @@ async =
vim.schedule_wrap(
function()
for i = 1, #chad_modules, 1 do
local ok, res = xpcall(require, debug.traceback, chad_modules[i])
if not (ok) then
print("Error loading module : " .. chad_modules[i])
print(res) -- print stack traceback of the error
end
pcall(require, chad_modules[i])
end
async:close()
end