mirror of
https://github.com/NvChad/NvChad.git
synced 2024-11-04 12:00:29 +00:00
92eb5ca740
Actually saved some milliseconds, can be observed in benchmarks too from packer readme ``` To optimize startup time, packer.nvim compiles code to perform the lazy-loading operations you specify. This means that you do not need to load packer.nvim unless you want to perform some plugin management operations. ``` Add packer commands manually to mappings.lua, but with basic functionalty By this, we don't losr the packer commands and don't even load at startup After some command is actually executed, it will load the PackerCommands as they were
10 lines
140 B
Lua
10 lines
140 B
Lua
local chad_modules = {
|
|
"options",
|
|
"mappings",
|
|
"utils"
|
|
}
|
|
|
|
for i = 1, #chad_modules, 1 do
|
|
pcall(require, chad_modules[i])
|
|
end
|