dotfiles-nix/nvim/lua/lazy.lua

26 lines
603 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,
print([[
Installing lazy.vim and plugins....
]])
})
end
vim.opt.rtp:prepend(lazypath)
local plugins = {
--- Lazy ---
"folke/lazy.nvim" --- Lazy will manage itself
--- Colorschemes ---
{ "catppuccin/nvim", name = "catppuccin", lazy = false, priority = 1000 },
}
local opts = {}
require("lazy").setup(plugins, opts)