Files
neovim-config/lua/taken/lazy.lua
2024-03-17 12:18:16 +01:00

33 lines
637 B
Lua

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",
lazypath,
})
end
vim.opt.rtp:prepend(lazypath)
local lazy = require("lazy")
local plugins = {
{ import = "taken.plugins" },
{ import = "taken.plugins.lsp" },
}
local opts = {
checker = {
enabled = true,
notify = false,
},
change_detection = {
enabled = true,
notify = false,
},
}
lazy.setup(plugins, opts)