Files
nvim/init.lua
2025-07-13 18:58:27 -04:00

34 lines
732 B
Lua

-- TODO: after switching to dep with lazy loading check out vim-startuptime
-- again
-- load core utilities
_G.core = require("core")
-- enable performance stuff
vim.loader.enable()
-- load user config
require("conf")
-- bootstrap plugin manager
local path = vim.fn.stdpath("data").."/site/pack/deps/opt/dep"
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 = "lazy"
},
modules = {
prefix = "conf.plugins"
}
}