Skip to content

Allow access to LSP completion item in sort comparator implementation #1778

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

Open
tom-anders opened this issue May 16, 2025 · 0 comments
Open
Labels
feature New feature or request

Comments

@tom-anders
Copy link

tom-anders commented May 16, 2025

Feature Description

clangd has an extension where it adds it's own score to the LSP CompletionItem (based on things like number of usages, see https://clangd.llvm.org/extensions) - In nvim cmp the comparator had access to this field, so we could support the clangd extension like this: hrsh7th/nvim-cmp#277 (comment) (via entry.completion_item)

With blink, I don't see any way to access the CompletionItem - Any chance this could be added?

@tom-anders tom-anders added the feature New feature or request label May 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant