cracked update

This commit is contained in:
Zacharias-Brohn
2025-12-03 21:57:32 +01:00
parent ea80295aee
commit 69e5a05062
40 changed files with 1372 additions and 1224 deletions
+17
View File
@@ -0,0 +1,17 @@
local M = {}
function M.load_modules()
local modules_path = vim.fn.stdpath("config") .. "/lua/config/modules"
local modules = vim.fn.globpath(modules_path, "*.lua", false, true)
for _, module_file in ipairs(modules) do
local module_name = vim.fn.fnamemodify(module_file, ":t:r")
local ok, err = pcall(require, "config.modules." .. module_name)
if not ok then
vim.notify("Failed to load module: " .. module_name .. "\n" .. err, vim.log.levels.ERROR)
end
end
end
return M