fix(clangd): nvim-cmp optional

This commit is contained in:
Folke Lemaitre 2024-12-12 16:43:25 +01:00
parent a9a273d041
commit 94be6fb787
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -104,6 +104,7 @@ return {
{
"hrsh7th/nvim-cmp",
optional = true,
opts = function(_, opts)
table.insert(opts.sorting.comparators, 1, require("clangd_extensions.cmp_scores"))
end,