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
{ "JoosepAlviste/nvim-ts-context-commentstring" },
{ "JoosepAlviste/nvim-ts-context-commentstring", lazy = true },
{
"echasnovski/mini.comment",
event = "VeryLazy",

View File

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

View File

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

View File

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