chore(format)
This commit is contained in:
@@ -20,9 +20,7 @@ function M.visit_astrobox_modules(module, visitor)
|
||||
end
|
||||
while true do
|
||||
local entry, type = vim.loop.fs_scandir_next(hdl)
|
||||
if entry == nil then
|
||||
break
|
||||
end
|
||||
if entry == nil then break end
|
||||
if type == "file" and vim.endswith(entry, ".lua") then
|
||||
local mod_name = entry:sub(0, -5) -- cut extension
|
||||
local ok, mod = pcall(require, "astrobox." .. module .. "." .. mod_name)
|
||||
|
||||
Reference in New Issue
Block a user