add event VeryLazy to nvim-lsp to setup cmp at start
This commit is contained in:
parent
59e0f8b285
commit
a12348bc9d
|
@ -48,7 +48,7 @@ return {
|
||||||
"hrsh7th/cmp-cmdline",
|
"hrsh7th/cmp-cmdline",
|
||||||
"L3MON4D3/LuaSnip",
|
"L3MON4D3/LuaSnip",
|
||||||
},
|
},
|
||||||
event = { "BufReadPre", "BufNewFile" },
|
event = { "BufReadPre", "BufNewFile", "VeryLazy" },
|
||||||
cmd = { "LspInfo", "LspInstall", "LspUninstall" },
|
cmd = { "LspInfo", "LspInstall", "LspUninstall" },
|
||||||
config = function (_, opts)
|
config = function (_, opts)
|
||||||
local capabilities = require("cmp_nvim_lsp").default_capabilities()
|
local capabilities = require("cmp_nvim_lsp").default_capabilities()
|
||||||
|
|
Loading…
Reference in a new issue