lazy load some plugins

This commit is contained in:
siduck76 2021-07-11 12:20:15 +05:30
parent 4dbb1a71e2
commit df4ff8dc6f
1 changed files with 12 additions and 4 deletions

View File

@ -84,7 +84,10 @@ return packer.startup(
require("plugins.compe").snippets() require("plugins.compe").snippets()
end end
}, },
"rafamadriz/friendly-snippets" {
"rafamadriz/friendly-snippets",
event = "InsertCharPre"
}
} }
} }
@ -110,9 +113,7 @@ return packer.startup(
"nvim-telescope/telescope.nvim", "nvim-telescope/telescope.nvim",
requires = { requires = {
{"nvim-lua/popup.nvim"}, {"nvim-lua/popup.nvim"},
{"nvim-lua/plenary.nvim"}, {"nvim-lua/plenary.nvim"}
{"nvim-telescope/telescope-fzf-native.nvim", run = "make"},
{"nvim-telescope/telescope-media-files.nvim"}
}, },
cmd = "Telescope", cmd = "Telescope",
config = function() config = function()
@ -120,6 +121,13 @@ return packer.startup(
end end
} }
use {"nvim-telescope/telescope-fzf-native.nvim", run = "make", cmd = "Telescope"}
use {
"nvim-telescope/telescope-media-files.nvim",
cmd = "Telescope"
}
-- git stuff -- git stuff
use { use {
"lewis6991/gitsigns.nvim", "lewis6991/gitsigns.nvim",