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