diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index 298e3cf9..8224e92a 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -103,7 +103,7 @@ local plugins = { -- load luasnips + cmp related in insert mode only ["rafamadriz/friendly-snippets"] = { - module = "cmp_nvim_lsp", + module = { "cmp", "cmp_nvim_lsp" }, event = "InsertEnter", },