mirror of
https://github.com/CompeyDev/my-nvim-setup.git
synced 2025-05-04 10:53:45 +01:00
Why do we have a table to require a single module. We had this when we had plugins, colors etc. But we only have one module now. So why bother a list and looping through for a single module ?
4 lines
110 B
Lua
4 lines
110 B
Lua
local ok, err = pcall(require, "core")
|
|
if not ok then
|
|
error("Error loading " .. module .. "\n\n" .. err)
|
|
end
|