mirror of https://github.com/NvChad/NvChad
Don't use new_async
It doesn't seem to be improving stuff as it is not supposed to Due to the half baked stats of the startuptime plugin, people were fooled no point in disabling filetype and whatenot See some discussion here: https://github.com/siduck76/NvChad/issues/175pull/180/head
parent
936f368036
commit
6b4435caef
@ -1,21 +1,10 @@
|
||||
require "options"
|
||||
|
||||
local chad_modules = {
|
||||
"options",
|
||||
"pluginList",
|
||||
"mappings",
|
||||
"utils"
|
||||
}
|
||||
|
||||
local async
|
||||
async =
|
||||
vim.loop.new_async(
|
||||
vim.schedule_wrap(
|
||||
function()
|
||||
for i = 1, #chad_modules, 1 do
|
||||
pcall(require, chad_modules[i])
|
||||
end
|
||||
async:close()
|
||||
end
|
||||
)
|
||||
)
|
||||
async:send()
|
||||
for i = 1, #chad_modules, 1 do
|
||||
pcall(require, chad_modules[i])
|
||||
end
|
||||
|
Loading…
Reference in New Issue