From 57062f3a09cad6dd5fe745389ad9f8421e3bdcd2 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Thu, 25 May 2023 08:09:19 +0200 Subject: [PATCH] feat(plugin): trigger LazyPlugins after loading plugin specs --- lua/lazy/core/plugin.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/lazy/core/plugin.lua b/lua/lazy/core/plugin.lua index 76b245d..840a343 100644 --- a/lua/lazy/core/plugin.lua +++ b/lua/lazy/core/plugin.lua @@ -423,6 +423,7 @@ function M.load() M.update_state() Util.track() M.loading = false + vim.api.nvim_exec_autocmds("User", { pattern = "LazyPlugins", modeline = false }) end -- Finds the plugin that has this path