.dotfiles/home/.config/nvim/lua/lazy_init.lua
Martin Larsson beddd50e98 Remove deprecated config key hererrocks in lazy_init.lua and inrease
timeout to 300sec since toml++ and sol2 takes minutes to compile.
2024-10-20 03:41:03 +02:00

19 lines
491 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", -- latest stable release
lazypath,
})
end
vim.opt.rtp:prepend(lazypath)
-- Initialize plugins, add a plugin by creating a new file in the plugins dir
require("lazy").setup("plugs", {
git = {
timeout = 300
}
})