From bd542515b31a4c4f408579a3b15a48d9a228eac2 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 21 Jul 2024 19:21:09 +0200 Subject: [PATCH] feat: Remove cmp-buffer (covered by cmp-rg) --- lua/core/plugins/cmp.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lua/core/plugins/cmp.lua b/lua/core/plugins/cmp.lua index 0e18d41f..dbf1270a 100644 --- a/lua/core/plugins/cmp.lua +++ b/lua/core/plugins/cmp.lua @@ -3,7 +3,6 @@ local M = { event = { "InsertEnter", "CmdlineEnter" }, dependencies = { "hrsh7th/cmp-nvim-lsp", - "hrsh7th/cmp-buffer", "hrsh7th/cmp-path", "hrsh7th/cmp-calc", "lukas-reineke/cmp-rg", @@ -15,11 +14,10 @@ local M = { local sources = { { name = "nvim_lsp" }, - { name = "buffer", keyword_length = 5 }, { name = "luasnip" }, { name = "calc" }, { name = "path" }, - { name = "rg", keyword_length = 5 }, + { name = "rg", keyword_length = 3 }, -- { omni = true }, -- completion for vimtex - is this necessary? }