update nvim-cmp loading strategy

pull/1685/head
Pham Huy Hoang 1 year ago committed by Sidhanth Rathod
parent ae68290e1f
commit 5db2f0978d

@ -136,7 +136,8 @@ local plugins = {
["rafamadriz/friendly-snippets"] = { },
["hrsh7th/nvim-cmp"] = {
event = "InsertEnter",
module = { "cmp", "cmp_nvim_lsp" },
event = { "InsertEnter", "CmdlineEnter" }, -- for users that may use nvim-cmp-cmdline
config = function()
require "plugins.configs.cmp"
end,

Loading…
Cancel
Save