2023-09-05 19:59:37 +02:00
|
|
|
-- enable experimental lua loader
|
|
|
|
vim.loader.enable()
|
|
|
|
|
2023-01-10 02:38:06 +01:00
|
|
|
-- bootstrap from github
|
|
|
|
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
|
|
|
|
|
|
|
if not vim.loop.fs_stat(lazypath) then
|
|
|
|
vim.fn.system({
|
|
|
|
"git",
|
|
|
|
"clone",
|
|
|
|
"--filter=blob:none",
|
|
|
|
"--single-branch",
|
|
|
|
"git@github.com:folke/lazy.nvim.git",
|
|
|
|
lazypath,
|
|
|
|
})
|
|
|
|
end
|
|
|
|
|
|
|
|
vim.opt.runtimepath:prepend(lazypath)
|
|
|
|
|
|
|
|
-- Start the actual init process
|
|
|
|
require("my.init").setup()
|