diff --git a/lua/plugins/example.lua b/lua/plugins/example.lua index 78a3370..f84ebdc 100644 --- a/lua/plugins/example.lua +++ b/lua/plugins/example.lua @@ -44,8 +44,7 @@ return { dependencies = { "hrsh7th/cmp-emoji" }, ---@param opts cmp.ConfigSchema opts = function(_, opts) - local cmp = require("cmp") - opts.sources = cmp.config.sources(vim.list_extend(opts.sources, { { name = "emoji" } })) + table.insert(opts.sources, { name = "emoji" }) end, },