Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add functionality to load all modules in the `lua/dorm/mod` directory. * **`lua/dorm/mod/init.lua`** - Add `Mod.load_modules` function to load all modules in the `lua/dorm/mod` directory. - Use `vim.loop.fs_scandir` to iterate over the files in the directory. - Call `Mod.load_module` for each file that matches the pattern `module.lua`. * **`lua/dorm/init.lua`** - Call `Mod.load_modules` in the `dorm.setup` function to load all modules. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/clpi/dorm.lua?shareId=XXXX-XXXX-XXXX-XXXX).
- Loading branch information