-
Notifications
You must be signed in to change notification settings - Fork 365
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
Latest commit breaks completion if there are duplicates #157
Comments
Thank you. I've fixed. |
This issue is still present, I'm using 1cd5774. A for snippet from |
I can't reproduce. What is the |
A To reproduce:
Update: if you disable LSP source, |
@xeluxee I've tested it with |
Ok @hrsh7th, so you think this issue is related to |
It's definitely source related. Kapture.2021-09-17.at.01.03.51.mp4 |
So with the latest commit there is a problem if in the completion list is present a repeated element, as it is not being displayed, but I asumme it is still being indexed causing to expand information not corresponding to the selected item.
Here is an example with gopls and using friendly-snippets, the
func
completion is a keyword for the language server and also is as snippet, and as it is not repeted on the list, the next snippets are expanding the previous one:simplescreenrecorder-2021-09-05_19.42.44.mov
This is not happening on the previous commit, here is the correct behavior using the previous commit:
simplescreenrecorder-2021-09-05_19.40.02.mov
The text was updated successfully, but these errors were encountered: