completions inserted strangely when trigger.completion.keyword_range = "full" #268
Closed
2 tasks done
Labels
bug
Something isn't working
Make sure you have done the following
blink.cmp
Bug Description
Screencast.From.2024-11-04.22-51-32.mp4
When
keyword_range = "full"
, inserting a completions from the middle of a word duplicates the last character if the last character is the end of the phrase. The ghost text is also incorrect (it appears a few characters after the cursor).Screencast.From.2024-11-04.22-58-43.mp4
This does not occur when there is no space after the current word.
Screencast.From.2024-11-04.23-00-58.mp4
Additionally, when
keyword_range = "full"
I noticed that if the cursor is in the middle of the word, and the second half doesn't match any completions, no completions are displayed (even if manually triggered). I'm sure this is a tricky edge case, but I would prefer the behavior to fallback to normal completions in this case.Relevant configuration
neovim version
NVIM v0.11.0-dev+1090-g99acc9de5 Build type: RelWithDebInfo LuaJIT 2.1.1720049189
blink.cmp
version: branch, tag, or commitmain (1628800)
The text was updated successfully, but these errors were encountered: