From 5bd4282835affed72696f53f67eb2f5126e78780 Mon Sep 17 00:00:00 2001 From: Akianonymus Date: Fri, 29 Jul 2022 13:57:08 +0530 Subject: [PATCH] cmp: load if cmp module is called --- lua/plugins/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", },