neovim-config/init.lua
Ashin Antony 8726de1faa chore: Clean init.lua
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 ?
2021-09-28 15:11:03 +05:30

4 lines
110 B
Lua

local ok, err = pcall(require, "core")
if not ok then
error("Error loading " .. module .. "\n\n" .. err)
end