Files
neovim-config/lua/taken/lazy.lua
Taken 9556024c93 Added types
Signed-off-by: Taken <taken@mairimashita.org>
2024-03-17 16:34:11 +01:00

35 lines
685 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")
--- @type LazyPluginSpec[]
local plugins = {
{ import = "taken.plugins" },
{ import = "taken.plugins.lsp" },
}
--- @type LazyConfig
local opts = {
checker = {
enabled = true,
notify = false,
},
change_detection = {
enabled = true,
notify = false,
},
}
lazy.setup(plugins, opts)