From 063c2215fb3b8142f1afb62c966730bcd619bac4 Mon Sep 17 00:00:00 2001 From: Dreaded_X Date: Mon, 26 May 2025 03:44:51 +0200 Subject: [PATCH] Remove cmp-lsp-rs as it broke --- nvim/dot-config/nvim/lua/plugins/cmp.lua | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/nvim/dot-config/nvim/lua/plugins/cmp.lua b/nvim/dot-config/nvim/lua/plugins/cmp.lua index ebf27ab..3124fb8 100644 --- a/nvim/dot-config/nvim/lua/plugins/cmp.lua +++ b/nvim/dot-config/nvim/lua/plugins/cmp.lua @@ -8,9 +8,6 @@ return { "hrsh7th/cmp-path", "onsails/lspkind-nvim", - -- Improve sorting order for rust - "zjp-CN/nvim-cmp-lsp-rs", - -- Snippets "L3MON4D3/LuaSnip", "saadparwaiz1/cmp_luasnip", @@ -21,9 +18,6 @@ return { local lspkind = require("lspkind") local border = require("symbols.window").border - local cmp_rs = require("cmp_lsp_rs") - local comparators = cmp_rs.comparators - cmp.setup({ snippet = { expand = function(args) @@ -82,12 +76,6 @@ return { end end, { "i", "s" }), }), - sorting = { - comparators = { - comparators.inherent_import_inscope, - comparators.sort_by_label_but_underscore_last, - }, - }, sources = { { name = "lazydev", group_index = 0 }, { name = "nvim_lsp" },