From 6d98a11dfede40af991108ecf21fc255eb0e8586 Mon Sep 17 00:00:00 2001 From: siduck76 Date: Sun, 18 Jul 2021 16:06:33 +0530 Subject: [PATCH] lazy load more plugins! --- lua/pluginList.lua | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lua/pluginList.lua b/lua/pluginList.lua index 6577d40..ed85c48 100644 --- a/lua/pluginList.lua +++ b/lua/pluginList.lua @@ -104,12 +104,11 @@ return packer.startup( end } + use {"nvim-lua/plenary.nvim", event = "BufRead"} + use {"nvim-lua/popup.nvim", after = "plenary.nvim"} + use { "nvim-telescope/telescope.nvim", - requires = { - {"nvim-lua/popup.nvim"}, - {"nvim-lua/plenary.nvim"} - }, cmd = "Telescope", config = function() require "plugins.telescope" @@ -125,7 +124,7 @@ return packer.startup( -- git stuff use { "lewis6991/gitsigns.nvim", - event = "BufRead", + after = "plenary.nvim", config = function() require "plugins.gitsigns" end