Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Making sure that entries are sorted in a certain way #1654

Open
saecki opened this issue Jul 12, 2023 · 0 comments
Open

Making sure that entries are sorted in a certain way #1654

saecki opened this issue Jul 12, 2023 · 0 comments

Comments

@saecki
Copy link

saecki commented Jul 12, 2023

Hi, I'm the maintainer of crates.nvim. saecki/crates.nvim#69 brought up the issue of versions not being sorted lexicographically (which is intended). Previously this was done by setting sortText on the CompletionItems. But sometime in the past the sort_text scoring was removed from the default configuration of nvim-cmp.
Is there some other way for a plugin to make sure the CompletionItems provided are sorted in the right way?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant