dotfiles/.config/nvim/init.lua

14 lines
277 B
Lua

local core = {
"options",
"mappings",
"autocmds",
"plugins"
}
for _,source in ipairs(core) do
local status_ok,fault = pcall(require,'core.' .. source)
if not status_ok then
vim.notify("Failed to load " .. source .."\n\n" .. fault )
end
end