From 89c1ad5e2ec174919c1e6b035566bd41c2a68bdc Mon Sep 17 00:00:00 2001 From: christianchiarulli Date: Mon, 28 Jun 2021 11:58:30 -0400 Subject: [PATCH] more lazyload --- lua/plugins.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lua/plugins.lua b/lua/plugins.lua index 0f7d233c..d33d13c2 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -36,8 +36,8 @@ return require("packer").startup(function(use) -- TODO refactor all of this (for now it works, but yes I know it could be wrapped in a simpler function) use {"neovim/nvim-lspconfig"} - use {"glepnir/lspsaga.nvim"} - use {"kabouzeid/nvim-lspinstall"} + use {"glepnir/lspsaga.nvim", event = "BufRead"} + use {"kabouzeid/nvim-lspinstall", event = "BufRead"} -- Telescope use {"nvim-lua/popup.nvim"} use {"nvim-lua/plenary.nvim"} @@ -49,7 +49,7 @@ return require("packer").startup(function(use) event = "InsertEnter", config = function() require("lv-compe").config() - end, + end } use {"hrsh7th/vim-vsnip", event = "InsertCharPre"}