mirror of
https://github.com/CompeyDev/my-nvim-setup.git
synced 2024-12-13 13:30:41 +00:00
8726de1faa
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
|