You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have just started using this plugin and noticed a strange behaviour when completing an already inserted word when using set backspace=0. The selected suggestion simply appended right after the word, rather than replace (complete) it.
Look what happens when I'm trying to complete the word "a_nice_word" while I already inserted the part "a_nice". In the following example I am also selecting the suggestion multiple times:
nvim_cmp_vid_1.mov
When I run set backspace=indent,eol,start, it behaves like it should:
nvim_cmp_vid_2.mov
It seems that when an item is being selected, the backspace option should be set to indent,eol,start and after that it should go back to the default.
I've found #347 and #343, but the issue seems to persist until now 🤷♂️
Steps to reproduce
Use set backspace=0
Go to INSERT while on a given word and try to complete it.
Behold!
Expected behavior
The word should be completed from its beginning.
Actual behavior
The completion is inserted right after the word.
Additional context
No response
The text was updated successfully, but these errors were encountered:
FAQ
Issues
Neovim Version
NVIM v0.6.1
Minimal reproducible config
Description
Hey!
I have just started using this plugin and noticed a strange behaviour when completing an already inserted word when using
set backspace=0
. The selected suggestion simply appended right after the word, rather than replace (complete) it.Look what happens when I'm trying to complete the word "a_nice_word" while I already inserted the part "a_nice". In the following example I am also selecting the suggestion multiple times:
nvim_cmp_vid_1.mov
When I run
set backspace=indent,eol,start
, it behaves like it should:nvim_cmp_vid_2.mov
It seems that when an item is being selected, the
backspace
option should be set toindent,eol,start
and after that it should go back to the default.I've found #347 and #343, but the issue seems to persist until now 🤷♂️
Steps to reproduce
set backspace=0
Expected behavior
The word should be completed from its beginning.
Actual behavior
The completion is inserted right after the word.
Additional context
No response
The text was updated successfully, but these errors were encountered: