Migrate to vim.pack

This commit is contained in:
orip
2026-04-20 01:26:12 +03:00
parent cd7adee3ce
commit c4605421e5
11 changed files with 865 additions and 1020 deletions
+8 -3
View File
@@ -3,6 +3,11 @@
--
-- See the kickstart.nvim README for more information
---@module 'lazy'
---@type LazySpec
return {}
-- Iterate over all Lua files in the plugins directory and load them
local plugins_dir = vim.fs.joinpath(vim.fn.stdpath 'config', 'lua', 'custom', 'plugins')
for file_name, type in vim.fs.dir(plugins_dir) do
if type == 'file' and file_name:match '%.lua$' and file_name ~= 'init.lua' then
local module = file_name:gsub('%.lua$', '')
require('custom.plugins.' .. module)
end
end