From 0abd4ad6b738e8cd93681afe7db04ea69b1d8177 Mon Sep 17 00:00:00 2001 From: rootiest Date: Tue, 8 Oct 2024 04:28:50 -0400 Subject: [PATCH] refactor: clean up cmp provider setup for clarity --- lua/plugins/cmp.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lua/plugins/cmp.lua b/lua/plugins/cmp.lua index a6f850d..12c82bb 100644 --- a/lua/plugins/cmp.lua +++ b/lua/plugins/cmp.lua @@ -11,11 +11,12 @@ local perf = vim.g.cmp_performance_enabled or false local function cmp_provider(performance) if performance then return { - url = "yioneko/nvim-cmp", + -- url = "yioneko/nvim-cmp", + url = "iguanacucumber/magazine.nvim", -- Experiemental cmp performance fork dev = true, - branch = "perf-up", - build = "git clone -b perf-up https://github.com/yioneko/nvim-cmp.git ~/projects/nvim-cmp/", + -- branch = "perf-up", + -- build = "git clone -b perf-up https://github.com/yioneko/nvim-cmp.git ~/projects/nvim-cmp/", } end return { @@ -88,7 +89,6 @@ return { -- cmp [""] = cmp.mapping(function(fallback) if cmp.visible() then cmp.select_next_item() - -- cmp.confirm({ select = true }) elseif luasnip.expand_or_locally_jumpable() then luasnip.expand_or_jump() elseif vim.snippet.active({ direction = 1 }) then