disable annoying update checking from lazy

This commit is contained in:
Youwen Wu 2024-05-12 17:41:25 -07:00
parent 7f1a07c7ca
commit e24eff554c
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3

View file

@ -10,17 +10,24 @@ vim.opt.rtp:prepend(vim.env.LAZY or lazypath)
require("lazy").setup({
spec = {
-- add LazyVim and import its plugins
{ "LazyVim/LazyVim", import = "lazyvim.plugins", cond = function()
{
"LazyVim/LazyVim",
import = "lazyvim.plugins",
cond = function()
return not vim.g.vscode
end },
end,
},
-- import any extras modules here
-- { import = "lazyvim.plugins.extras.lang.typescript" },
-- { import = "lazyvim.plugins.extras.lang.json" },
-- { import = "lazyvim.plugins.extras.ui.mini-animate" },
-- import/override with your plugins
{ import = "plugins", cond = function()
{
import = "plugins",
cond = function()
return not vim.g.vscode
end },
end,
},
},
defaults = {
-- By default, only LazyVim plugins will be lazy-loaded. Your custom plugins will load during startup.
@ -32,7 +39,7 @@ require("lazy").setup({
-- version = "*", -- try installing the latest stable version for plugins that support semver
},
install = { colorscheme = { "tokyonight", "habamax" } },
checker = { enabled = true }, -- automatically check for plugin updates
checker = { enabled = false }, -- automatically check for plugin updates
performance = {
rtp = {
-- disable some rtp plugins