update nvim-cmp loading strategy
This commit is contained in:
parent
ae68290e1f
commit
5db2f0978d
|
@ -136,7 +136,8 @@ local plugins = {
|
||||||
["rafamadriz/friendly-snippets"] = { },
|
["rafamadriz/friendly-snippets"] = { },
|
||||||
|
|
||||||
["hrsh7th/nvim-cmp"] = {
|
["hrsh7th/nvim-cmp"] = {
|
||||||
event = "InsertEnter",
|
module = { "cmp", "cmp_nvim_lsp" },
|
||||||
|
event = { "InsertEnter", "CmdlineEnter" }, -- for users that may use nvim-cmp-cmdline
|
||||||
config = function()
|
config = function()
|
||||||
require "plugins.configs.cmp"
|
require "plugins.configs.cmp"
|
||||||
end,
|
end,
|
||||||
|
|
Loading…
Reference in New Issue