From e24eff554ce95e16a8d15c8cf598ad0352ff4326 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Sun, 12 May 2024 17:41:25 -0700 Subject: [PATCH] disable annoying update checking from lazy --- lua/config/lazy.lua | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/lua/config/lazy.lua b/lua/config/lazy.lua index 94d6fa5..6357cba 100644 --- a/lua/config/lazy.lua +++ b/lua/config/lazy.lua @@ -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() - return not vim.g.vscode - end }, + { + "LazyVim/LazyVim", + import = "lazyvim.plugins", + cond = function() + return not vim.g.vscode + 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() - return not vim.g.vscode - end }, + { + import = "plugins", + cond = function() + return not vim.g.vscode + 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