2023-08-07 19:13:57 +02:00
|
|
|
-- bootstrap lazy
|
|
|
|
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",
|
|
|
|
"https://github.com/folke/lazy.nvim.git",
|
2023-08-08 06:10:22 +02:00
|
|
|
"--branch=stable",
|
2023-08-07 19:13:57 +02:00
|
|
|
lazypath,
|
|
|
|
})
|
2023-01-13 04:10:00 +01:00
|
|
|
end
|
2023-08-07 19:13:57 +02:00
|
|
|
vim.opt.rtp:prepend(lazypath)
|
2023-01-13 04:10:00 +01:00
|
|
|
|
2023-08-07 19:13:57 +02:00
|
|
|
return require("lazy").setup({
|
2023-09-28 06:18:15 +02:00
|
|
|
-- import plugins from the plugins directory
|
|
|
|
{ import = 'plugins' },
|
2023-08-08 18:10:08 +02:00
|
|
|
},
|
2023-08-09 03:17:56 +02:00
|
|
|
-- lazy.nvim configuration
|
2023-08-08 02:56:29 +02:00
|
|
|
{
|
2023-08-08 18:10:08 +02:00
|
|
|
ui = {
|
|
|
|
icons = Lazy_signs
|
|
|
|
}
|
2023-08-08 06:10:22 +02:00
|
|
|
}
|
2023-08-08 18:10:08 +02:00
|
|
|
)
|