1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-03-18 18:07:45 +01:00
dotfiles/.config/nvim/lua/loadplugins.lua

26 lines
503 B
Lua
Raw Normal View History

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",
"--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({
-- import plugins from the plugins directory
{ import = 'plugins' },
},
2023-08-09 03:17:56 +02:00
-- lazy.nvim configuration
2023-08-08 02:56:29 +02:00
{
ui = {
icons = Lazy_signs
}
}
)