lazy loading : nvimtree and autopairs

This commit is contained in:
siduck76
2021-06-25 23:06:17 +05:30
parent 922089fc07
commit 4e23587ca3
4 changed files with 106 additions and 89 deletions

View File

@@ -38,10 +38,16 @@ return packer.startup(
use "lewis6991/gitsigns.nvim"
use "akinsho/nvim-bufferline.lua"
use "glepnir/galaxyline.nvim"
use "windwp/nvim-autopairs"
use {
"windwp/nvim-autopairs",
event = "InsertEnter",
config = function()
require("nvim-autopairs").setup()
end
}
-- use "alvan/vim-closetag" -- for html
-- Comment
use "terrortylor/nvim-comment" -- snippet support
-- snippet
@@ -52,7 +58,14 @@ return packer.startup(
use "rafamadriz/friendly-snippets"
-- file managing , picker etc
use "kyazdani42/nvim-tree.lua"
use {
"kyazdani42/nvim-tree.lua",
cmd = "NvimTreeToggle",
config = function()
require("nvimTree").config()
end
}
use "kyazdani42/nvim-web-devicons"
use "nvim-telescope/telescope.nvim"
use "nvim-telescope/telescope-media-files.nvim"