lazyvim-starter

My configuration changes to https://github.com/LazyVim/starter
git clone https://git.eamoncaddigan.net/lazyvim-starter.git
Log | Files | Refs | README | LICENSE

commit 92b2689e6f11004e65376e84912e61b9e6c58827
parent a13d5c90769ce6177d1e27b46efd967ed52c1d68
Author: Folke Lemaitre <folke.lemaitre@gmail.com>
Date:   Mon,  9 Oct 2023 10:28:53 +0200

docs: simplify cmp-emoji example

Diffstat:
Mlua/plugins/example.lua | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 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, },