diff --git a/vim/.vim/lua/plugins/cmp.lua b/vim/.vim/lua/plugins/cmp.lua index ffedc38..f1ed1fb 100644 --- a/vim/.vim/lua/plugins/cmp.lua +++ b/vim/.vim/lua/plugins/cmp.lua @@ -87,9 +87,9 @@ return { sorting = { comparators = { -- compare.score_offset, -- not good at all + compare.score, -- based on : score = score + ((#sources - (source_index - 1)) * sorting.priority_weight) compare.locality, compare.recently_used, - compare.score, -- based on : score = score + ((#sources - (source_index - 1)) * sorting.priority_weight) compare.offset, compare.order, -- compare.scopes, -- what?