lazy load lsp-install

This commit is contained in:
siduck76 2021-07-10 19:06:41 +05:30
parent 9627b5e6b4
commit 4dbb1a71e2

View File

@ -8,7 +8,7 @@ packer.init {
end end
}, },
git = { git = {
clone_timeout = 600, -- Timeout, in seconds, for git clones clone_timeout = 600 -- Timeout, in seconds, for git clones
} }
} }
@ -46,6 +46,11 @@ return packer.startup(
end end
} }
use {
"kabouzeid/nvim-lspinstall",
event = "VimEnter"
}
use { use {
"neovim/nvim-lspconfig", "neovim/nvim-lspconfig",
event = "BufRead", event = "BufRead",
@ -54,8 +59,6 @@ return packer.startup(
end end
} }
use "kabouzeid/nvim-lspinstall"
use { use {
"onsails/lspkind-nvim", "onsails/lspkind-nvim",
event = "BufRead", event = "BufRead",