disable annoying update checking from lazy
This commit is contained in:
parent
7f1a07c7ca
commit
e24eff554c
1 changed files with 14 additions and 7 deletions
|
@ -10,17 +10,24 @@ vim.opt.rtp:prepend(vim.env.LAZY or lazypath)
|
||||||
require("lazy").setup({
|
require("lazy").setup({
|
||||||
spec = {
|
spec = {
|
||||||
-- add LazyVim and import its plugins
|
-- add LazyVim and import its plugins
|
||||||
{ "LazyVim/LazyVim", import = "lazyvim.plugins", cond = function()
|
{
|
||||||
return not vim.g.vscode
|
"LazyVim/LazyVim",
|
||||||
end },
|
import = "lazyvim.plugins",
|
||||||
|
cond = function()
|
||||||
|
return not vim.g.vscode
|
||||||
|
end,
|
||||||
|
},
|
||||||
-- import any extras modules here
|
-- import any extras modules here
|
||||||
-- { import = "lazyvim.plugins.extras.lang.typescript" },
|
-- { import = "lazyvim.plugins.extras.lang.typescript" },
|
||||||
-- { import = "lazyvim.plugins.extras.lang.json" },
|
-- { import = "lazyvim.plugins.extras.lang.json" },
|
||||||
-- { import = "lazyvim.plugins.extras.ui.mini-animate" },
|
-- { import = "lazyvim.plugins.extras.ui.mini-animate" },
|
||||||
-- import/override with your plugins
|
-- import/override with your plugins
|
||||||
{ import = "plugins", cond = function()
|
{
|
||||||
return not vim.g.vscode
|
import = "plugins",
|
||||||
end },
|
cond = function()
|
||||||
|
return not vim.g.vscode
|
||||||
|
end,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
defaults = {
|
defaults = {
|
||||||
-- By default, only LazyVim plugins will be lazy-loaded. Your custom plugins will load during startup.
|
-- 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
|
-- version = "*", -- try installing the latest stable version for plugins that support semver
|
||||||
},
|
},
|
||||||
install = { colorscheme = { "tokyonight", "habamax" } },
|
install = { colorscheme = { "tokyonight", "habamax" } },
|
||||||
checker = { enabled = true }, -- automatically check for plugin updates
|
checker = { enabled = false }, -- automatically check for plugin updates
|
||||||
performance = {
|
performance = {
|
||||||
rtp = {
|
rtp = {
|
||||||
-- disable some rtp plugins
|
-- disable some rtp plugins
|
||||||
|
|
Loading…
Reference in a new issue