lazy load more plugins!

This commit is contained in:
siduck76 2021-07-18 16:06:33 +05:30
parent cb3f7538e8
commit 6d98a11dfe

View file

@ -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