refactor(nvim): improve cmp sort
This commit is contained in:
parent
eb4661da6d
commit
18a631e1d7
@ -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