2022-12-27 20:45:43 +01:00
|
|
|
-- bootstrap from github
|
|
|
|
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
2022-12-27 14:02:03 +01:00
|
|
|
|
2022-12-27 20:45:43 +01:00
|
|
|
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,
|
|
|
|
})
|
2022-12-27 14:02:03 +01:00
|
|
|
end
|
|
|
|
|
2022-12-27 20:45:43 +01:00
|
|
|
vim.opt.runtimepath:prepend(lazypath)
|
2022-12-27 14:02:03 +01:00
|
|
|
|
2022-12-14 03:20:59 +01:00
|
|
|
require("my.init").setup()
|