perf(nvim): convert some plugins to use VeryLazy event
This commit is contained in:
parent
a35d4c6316
commit
9f478082fd
@ -42,19 +42,6 @@ lazy.setup({
|
|||||||
},
|
},
|
||||||
|
|
||||||
-- Color schemes
|
-- Color schemes
|
||||||
{ "folke/tokyonight.nvim" },
|
|
||||||
{
|
|
||||||
"EdenEast/nightfox.nvim",
|
|
||||||
event = "VeryLazy",
|
|
||||||
config = function()
|
|
||||||
require("nightfox").setup({
|
|
||||||
options = {
|
|
||||||
transparent = true,
|
|
||||||
dim_inactive = true,
|
|
||||||
},
|
|
||||||
})
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"rebelot/kanagawa.nvim",
|
"rebelot/kanagawa.nvim",
|
||||||
build = function()
|
build = function()
|
||||||
@ -236,6 +223,7 @@ lazy.setup({
|
|||||||
-- Lspconfig
|
-- Lspconfig
|
||||||
{
|
{
|
||||||
"neovim/nvim-lspconfig",
|
"neovim/nvim-lspconfig",
|
||||||
|
event = "VeryLazy",
|
||||||
dependencies = {
|
dependencies = {
|
||||||
"hrsh7th/cmp-nvim-lsp",
|
"hrsh7th/cmp-nvim-lsp",
|
||||||
"folke/neodev.nvim",
|
"folke/neodev.nvim",
|
||||||
@ -438,7 +426,7 @@ lazy.setup({
|
|||||||
dependencies = {
|
dependencies = {
|
||||||
"kevinhwang91/promise-async",
|
"kevinhwang91/promise-async",
|
||||||
},
|
},
|
||||||
after = { "nvim-treesitter", "statuscol.nvim" },
|
event = "VeryLazy",
|
||||||
config = function()
|
config = function()
|
||||||
require("plugins.configs.nvim-ufo")
|
require("plugins.configs.nvim-ufo")
|
||||||
end,
|
end,
|
||||||
@ -886,7 +874,7 @@ lazy.setup({
|
|||||||
-- Improved Visuals for Documentation
|
-- Improved Visuals for Documentation
|
||||||
{
|
{
|
||||||
"lukas-reineke/headlines.nvim",
|
"lukas-reineke/headlines.nvim",
|
||||||
dependencies = "nvim-treesitter/nvim-treesitter",
|
event = "VeryLazy",
|
||||||
config = true,
|
config = true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user