feat: change change lazy load default

pull/99/head
fm39hz-workstation 2024-05-21 11:19:39 +07:00 committed by fm39hz-laptop
parent 2233227300
commit bce7d6304f
9 changed files with 2 additions and 18 deletions

View File

@ -24,7 +24,7 @@ require("lazy").setup({
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.
-- If you know what you're doing, you can set this to `true` to have all your custom plugins lazy-loaded by default. -- If you know what you're doing, you can set this to `true` to have all your custom plugins lazy-loaded by default.
lazy = false, lazy = true,
-- It's recommended to leave version=false for now, since a lot the plugin that support versioning, -- It's recommended to leave version=false for now, since a lot the plugin that support versioning,
-- have outdated releases, which may break your Neovim install. -- have outdated releases, which may break your Neovim install.
version = false, -- always use the latest git commit version = false, -- always use the latest git commit

View File

@ -1,7 +1,6 @@
return { return {
{ {
"kawre/leetcode.nvim", "kawre/leetcode.nvim",
lazy = true,
cmd = "Leet", cmd = "Leet",
opts = { opts = {
non_standalone = true, non_standalone = true,

View File

@ -1,7 +1,6 @@
return { return {
{ {
"jbyuki/instant.nvim", "jbyuki/instant.nvim",
lazy = true,
cmd = { cmd = {
"InstantStartServer", "InstantStartServer",
"InstantStopServer", "InstantStopServer",
@ -9,7 +8,6 @@ return {
}, },
{ {
"mistricky/codesnap.nvim", "mistricky/codesnap.nvim",
lazy = true,
build = "make", build = "make",
cmd = { cmd = {
"CodeSnap", "CodeSnap",

View File

@ -2,7 +2,6 @@ return {
-- Overall -- Overall
{ {
"Zeioth/compiler.nvim", "Zeioth/compiler.nvim",
lazy = true,
cmd = { "CompilerOpen", "CompilerToggleResults", "CompilerRedo" }, cmd = { "CompilerOpen", "CompilerToggleResults", "CompilerRedo" },
dependencies = { dependencies = {
"stevearc/overseer.nvim", "stevearc/overseer.nvim",
@ -11,7 +10,6 @@ return {
}, },
{ {
"stevearc/overseer.nvim", "stevearc/overseer.nvim",
lazy = true,
cmd = { "CompilerOpen", "CompilerToggleResults", "CompilerRedo" }, cmd = { "CompilerOpen", "CompilerToggleResults", "CompilerRedo" },
opts = { opts = {
task_list = { task_list = {
@ -25,7 +23,6 @@ return {
-- TS / JS -- TS / JS
{ {
"dmmulroy/tsc.nvim", "dmmulroy/tsc.nvim",
lazy = true,
cmd = "TSC", cmd = "TSC",
opts = { opts = {
use_trouble_qflist = true, use_trouble_qflist = true,
@ -33,7 +30,6 @@ return {
}, },
{ {
"dmmulroy/ts-error-translator.nvim", "dmmulroy/ts-error-translator.nvim",
lazy = true,
ft = { "ts", "tsx" }, ft = { "ts", "tsx" },
}, },
} }

View File

@ -1,7 +1,6 @@
return { return {
{ {
"stevearc/oil.nvim", "stevearc/oil.nvim",
lazy = true,
cmd = "Oil", cmd = "Oil",
opts = {}, opts = {},
dependencies = { "nvim-tree/nvim-web-devicons" }, dependencies = { "nvim-tree/nvim-web-devicons" },

View File

@ -1,7 +1,6 @@
return { return {
{ {
"f-person/git-blame.nvim", "f-person/git-blame.nvim",
lazy = true,
event = "BufReadPre", event = "BufReadPre",
opts = { opts = {
date_format = "%x • %X", date_format = "%x • %X",

View File

@ -1,7 +1,6 @@
return { return {
{ {
"Darazaki/indent-o-matic", "Darazaki/indent-o-matic",
lazy = true,
event = "BufReadPre", event = "BufReadPre",
}, },
} }

View File

@ -1,12 +1,10 @@
return { return {
{ {
"opdavies/toggle-checkbox.nvim", "opdavies/toggle-checkbox.nvim",
lazy = true,
ft = "markdown", ft = "markdown",
}, },
{ {
"yujinyuz/gitpad.nvim", "yujinyuz/gitpad.nvim",
lazy = true,
opts = { opts = {
title = "Note", title = "Note",
border = "rounded", border = "rounded",
@ -15,7 +13,6 @@ return {
}, },
{ {
"jmbuhr/otter.nvim", "jmbuhr/otter.nvim",
lazy = true,
ft = "markdown", ft = "markdown",
dependencies = { dependencies = {
"hrsh7th/nvim-cmp", -- optional, for completion "hrsh7th/nvim-cmp", -- optional, for completion
@ -25,11 +22,11 @@ return {
}, },
{ {
"3rd/image.nvim", "3rd/image.nvim",
lazy = true,
ft = { "markdown", "quarto", "vimwiki" }, ft = { "markdown", "quarto", "vimwiki" },
dependencies = { dependencies = {
{ {
"vhyrro/luarocks.nvim", "vhyrro/luarocks.nvim",
lazy = true,
priority = 1001, priority = 1001,
opts = { opts = {
rocks = { "magick" }, rocks = { "magick" },

View File

@ -1,7 +1,6 @@
return { return {
{ {
"neanias/everforest-nvim", "neanias/everforest-nvim",
lazy = true,
opts = { opts = {
background = "medium", background = "medium",
}, },
@ -18,7 +17,6 @@ return {
-- }, -- },
{ {
"brenoprata10/nvim-highlight-colors", "brenoprata10/nvim-highlight-colors",
lazy = true,
event = "BufReadPre", event = "BufReadPre",
opts = { opts = {
render = "virtual", render = "virtual",
@ -28,7 +26,6 @@ return {
}, },
{ {
"kevinhwang91/nvim-ufo", "kevinhwang91/nvim-ufo",
lazy = true,
event = "BufReadPre", event = "BufReadPre",
}, },
} }