refactor(nvim): improve cmp sort

This commit is contained in:
Price Hiller 2023-07-14 14:06:41 -05:00
parent eb4661da6d
commit 18a631e1d7
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8

View File

@ -150,10 +150,10 @@ cmp.setup({
}), }),
sorting = { sorting = {
comparators = { comparators = {
compare.exact,
compare.score, compare.score,
compare.offset, compare.offset,
compare.recently_used, compare.recently_used,
compare.exact,
require("cmp_fuzzy_buffer.compare"), require("cmp_fuzzy_buffer.compare"),
compare.kind, compare.kind,
compare.sort_text, compare.sort_text,