From 869616dc9c8c61917895d94bffb485f1ad0e698c Mon Sep 17 00:00:00 2001 From: Alexander Weber Date: Mon, 8 Dec 2025 10:20:11 -0800 Subject: [PATCH] Remove nvim-cmp plugin configuration When opening an R or Quarto file, I would see this message: > "Please, uninstall cmp-r. It's no longer used." So I have removed the optional nvim-cmp configuration for R. This is my first time contributing a change, so I hope this is correct --- lua/lazyvim/plugins/extras/lang/r.lua | 9 --------- 1 file changed, 9 deletions(-) diff --git a/lua/lazyvim/plugins/extras/lang/r.lua b/lua/lazyvim/plugins/extras/lang/r.lua index 5890b415..5400585b 100644 --- a/lua/lazyvim/plugins/extras/lang/r.lua +++ b/lua/lazyvim/plugins/extras/lang/r.lua @@ -47,15 +47,6 @@ return { require("r.pdf.generic").open = vim.ui.open end, }, - { - "hrsh7th/nvim-cmp", - optional = true, - dependencies = { "R-nvim/cmp-r" }, - opts = function(_, opts) - opts.sources = opts.sources or {} - table.insert(opts.sources, { name = "cmp_r" }) - end, - }, { "nvim-treesitter/nvim-treesitter", opts = { ensure_installed = { "r", "rnoweb" } },