From da2cf2db63b6bc8d188a3b40fc471e90344797fe Mon Sep 17 00:00:00 2001 From: Rokas Puzonas Date: Wed, 23 Aug 2023 08:55:11 +0300 Subject: [PATCH] move plugin init outside --- lua/plugin-manager.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lua/plugin-manager.lua b/lua/plugin-manager.lua index 7e397d4..1e0d271 100644 --- a/lua/plugin-manager.lua +++ b/lua/plugin-manager.lua @@ -80,9 +80,10 @@ end local plugins = setmetatable({}, { __index = function(_, key) - init() return packer[key] end }) +init() + return plugins