Remove cmp-lsp-rs as it broke

This commit is contained in:
Dreaded_X 2025-05-26 03:44:51 +02:00
parent 624b32792c
commit 063c2215fb
Signed by: Dreaded_X
GPG Key ID: 5A0CBFE3C3377FAA

View File

@ -8,9 +8,6 @@ return {
"hrsh7th/cmp-path", "hrsh7th/cmp-path",
"onsails/lspkind-nvim", "onsails/lspkind-nvim",
-- Improve sorting order for rust
"zjp-CN/nvim-cmp-lsp-rs",
-- Snippets -- Snippets
"L3MON4D3/LuaSnip", "L3MON4D3/LuaSnip",
"saadparwaiz1/cmp_luasnip", "saadparwaiz1/cmp_luasnip",
@ -21,9 +18,6 @@ return {
local lspkind = require("lspkind") local lspkind = require("lspkind")
local border = require("symbols.window").border local border = require("symbols.window").border
local cmp_rs = require("cmp_lsp_rs")
local comparators = cmp_rs.comparators
cmp.setup({ cmp.setup({
snippet = { snippet = {
expand = function(args) expand = function(args)
@ -82,12 +76,6 @@ return {
end end
end, { "i", "s" }), end, { "i", "s" }),
}), }),
sorting = {
comparators = {
comparators.inherent_import_inscope,
comparators.sort_by_label_but_underscore_last,
},
},
sources = { sources = {
{ name = "lazydev", group_index = 0 }, { name = "lazydev", group_index = 0 },
{ name = "nvim_lsp" }, { name = "nvim_lsp" },