lazy load lsp-install

This commit is contained in:
siduck76 2021-07-10 19:06:41 +05:30
parent 9627b5e6b4
commit 4dbb1a71e2
1 changed files with 7 additions and 4 deletions

View File

@ -8,8 +8,8 @@ packer.init {
end end
}, },
git = { git = {
clone_timeout = 600, -- Timeout, in seconds, for git clones clone_timeout = 600 -- Timeout, in seconds, for git clones
} }
} }
return packer.startup( return packer.startup(
@ -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",