Saghen / blink.cmp

Performant, batteries-included completion plugin for Neovim
MIT License
1.28k stars 73 forks source link

Autocomplete Suggestion Disappears When Typing Full Prefix #334

Open SourishBiswas23 opened 4 days ago

SourishBiswas23 commented 4 days ago

Make sure you have done the following

Bug Description

I'm encountering an issue with blink where typing a partial prefix displays suggestions, but continuing to type the full name causes the suggestions to disappear.

For example:

1. Typing H shows the expected suggestion 'HomepageHeroSection'.
2. However, typing Home results in the suggestion disappearing entirely.

Expected :

The suggestion 'HomepageHeroSection' should remain visible as I continue typing the prefix "Home". I've attached a video recording to demonstrate the issue for clarity. autocompleteBug.webm

Relevant configuration

https://github.com/SourishBiswas23/my-neovim-config/blob/main/lua/sourish/plugins/blink.lua

neovim version

v0.10.2

blink.cmp version: branch, tag, or commit

commit: 2946ff4

Saghen commented 3 days ago

This seems like an issue moreso with your LSP than blink itself since we don't do anything special for this case. Do you get the same behavior with nvim-cmp or the built-in completions?

SourishBiswas23 commented 3 days ago

No, the issue is not there with nvim-cmp. I have attached the video wherein I use nvim-cmp and the completions work fine. Kooha-2024-11-16-18-17-02.webm