fix(plugins): fix the laziness of all plugins to still work as intended with config.defaults.lazy = false. Fixes #67

This commit is contained in:
Folke Lemaitre
2023-01-16 16:49:16 +01:00
parent b7fe8a8adc
commit 6a3f3d3032
4 changed files with 8 additions and 4 deletions

View File

@ -110,7 +110,7 @@ return {
}, },
-- comments -- comments
{ "JoosepAlviste/nvim-ts-context-commentstring" }, { "JoosepAlviste/nvim-ts-context-commentstring", lazy = true },
{ {
"echasnovski/mini.comment", "echasnovski/mini.comment",
event = "VeryLazy", event = "VeryLazy",

View File

@ -3,12 +3,14 @@ return {
-- tokyonight -- tokyonight
{ {
"folke/tokyonight.nvim", "folke/tokyonight.nvim",
lazy = true,
opts = { style = "moon" }, opts = { style = "moon" },
}, },
-- catppuccin -- catppuccin
{ {
"catppuccin/nvim", "catppuccin/nvim",
lazy = true,
name = "catppuccin", name = "catppuccin",
}, },
} }

View File

@ -25,6 +25,7 @@ return {
-- better vim.ui -- better vim.ui
{ {
"stevearc/dressing.nvim", "stevearc/dressing.nvim",
lazy = true,
init = function() init = function()
---@diagnostic disable-next-line: duplicate-set-field ---@diagnostic disable-next-line: duplicate-set-field
vim.ui.select = function(...) vim.ui.select = function(...)
@ -284,6 +285,7 @@ return {
-- lsp symbol navigation for lualine -- lsp symbol navigation for lualine
{ {
"SmiteshP/nvim-navic", "SmiteshP/nvim-navic",
lazy = true,
init = function() init = function()
vim.g.navic_silence = true vim.g.navic_silence = true
require("lazyvim.util").on_attach(function(client, buffer) require("lazyvim.util").on_attach(function(client, buffer)
@ -296,8 +298,8 @@ return {
}, },
-- icons -- icons
"nvim-tree/nvim-web-devicons", { "nvim-tree/nvim-web-devicons", lazy = true },
-- ui components -- ui components
"MunifTanjim/nui.nvim", { "MunifTanjim/nui.nvim", lazy = true },
} }

View File

@ -23,7 +23,7 @@ return {
}, },
-- library used by other plugins -- library used by other plugins
"nvim-lua/plenary.nvim", { "nvim-lua/plenary.nvim", lazy = true },
-- makes some plugins dot-repeatable like leap -- makes some plugins dot-repeatable like leap
{ "tpope/vim-repeat", event = "VeryLazy" }, { "tpope/vim-repeat", event = "VeryLazy" },