fix(clangd): avoid nix-indexing the completion sorting comparators

This commit is contained in:
Vinicius Deolindo 2024-12-12 12:46:05 -03:00
parent a9a273d041
commit 808ba0dfde

View file

@ -105,6 +105,8 @@ return {
{
"hrsh7th/nvim-cmp",
opts = function(_, opts)
opts.sorting = opts.sorting or {}
opts.sorting.comparators = opts.sorting.comparators or {}
table.insert(opts.sorting.comparators, 1, require("clangd_extensions.cmp_scores"))
end,
},