mirror of https://github.com/NvChad/NvChad
Merge pull request #180 from Akianonymus/main
Remove placebo async stuff | Replace startuptime plugin with actually working one | Do not load packerpull/181/head^2
commit
b0adf7a565
@ -1,21 +1,9 @@
|
||||
require "options"
|
||||
|
||||
local chad_modules = {
|
||||
"pluginList",
|
||||
"options",
|
||||
"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