more more more

This commit is contained in:
2025-07-13 18:58:27 -04:00
parent 101bc55f15
commit cace587a09
36 changed files with 610 additions and 1251 deletions

View File

@ -12,33 +12,22 @@ require("conf")
-- bootstrap plugin manager
local path = vim.fn.stdpath("data").."/site/pack/deps/opt/dep"
if vim.fn.empty(vim.fn.glob(path)) > 0 then
vim.fn.system({ "git", "clone", "--depth=1", "https://git.squi.bid/squibid/dep",
path })
if not vim.uv.fs_stat(path) then
vim.fn.system({ "git", "clone", "--depth=1", "https://git.squi.bid/squibid/dep",
"--branch=lazy", path })
end
vim.opt.rtp:prepend(path)
vim.cmd("packadd dep")
_G.dep_short = require("dep.lazy.loader.short")
-- load plugins
require("dep") {
{ "squibid/dep",
url = "https://git.squi.bid/squibid/dep",
branch = "dev"
branch = "lazy"
},
load = function()
-- aquire all plugin specs
local plugs = {}
for _, file in ipairs(vim.api.nvim_get_runtime_file(
"lua/conf/plugins/*.lua", true)) do
local ret = require("conf.plugins."..file:gsub("^.*/", ""):gsub("%.lua$",
""))
if type(ret) ~= "boolean" then
plugs[#plugs + 1] = ret
end
end
return plugs
end
modules = {
prefix = "conf.plugins"
}
}