7 lines
279 B
Lua
7 lines
279 B
Lua
-- Autoload all files in this tools dir, minus this init again
|
|
for _, file in ipairs(vim.fn.readdir(vim.fn.stdpath("config") .. "/lua/tools", [[v:val =~ '\.lua$']])) do
|
|
if file ~= "init.lua" then
|
|
local tool = string.sub(file, 0, -5)
|
|
require("tools." .. tool)
|
|
end
|
|
end
|