From 4dbb1a71e26f1b0858ebec75f313cde1a28641f0 Mon Sep 17 00:00:00 2001 From: siduck76 Date: Sat, 10 Jul 2021 19:06:41 +0530 Subject: [PATCH] lazy load lsp-install --- lua/pluginList.lua | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/lua/pluginList.lua b/lua/pluginList.lua index 1f14191..ba7fdc5 100644 --- a/lua/pluginList.lua +++ b/lua/pluginList.lua @@ -8,8 +8,8 @@ packer.init { end }, git = { - clone_timeout = 600, -- Timeout, in seconds, for git clones - } + clone_timeout = 600 -- Timeout, in seconds, for git clones + } } return packer.startup( @@ -46,6 +46,11 @@ return packer.startup( end } + use { + "kabouzeid/nvim-lspinstall", + event = "VimEnter" + } + use { "neovim/nvim-lspconfig", event = "BufRead", @@ -54,8 +59,6 @@ return packer.startup( end } - use "kabouzeid/nvim-lspinstall" - use { "onsails/lspkind-nvim", event = "BufRead",