Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
xiantang committed Oct 19, 2023
1 parent 2d9d60a commit e434924
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/plugins/cmp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ return {
comparators = {
cmp.config.compare.exact,
safeRequire("cmp_tabnine.compare"),
cmp.config.compare.score, -- based on : score = score + ((#sources - (source_index - 1)) * sorting.priority_weight)
cmp.config.compare.locality,
cmp.config.compare.score, -- based on : score = score + ((#sources - (source_index - 1)) * sorting.priority_weight)
cmp.config.compare.recently_used,
cmp.config.compare.kind,
cmp.config.compare.offset,
Expand Down

0 comments on commit e434924

Please sign in to comment.