refactor(nvim): improve cmp comparators
This commit is contained in:
parent
5a299830fd
commit
eb4661da6d
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user