Start a new note and start typing. Once you've typed a few words, try typing a word that you've already added to the buffer (or another open buffer)
Expected Behavior
The suggestion pop-up should appear with possible completion options
Actual Behavior
The first suggestion in the list is automatically selected and inserted into the buffer.
Possible Causes
After some discussion [here]() and some experimentation, it seems that the issue is caused be [this line of code]() where completeopt has longest appended to it. This is causing the noinsert option (which ncm2's README specifies is necessary for it to operate properly) to have no effect (per the built-in vim documentation for completeopt).
Reproduction Steps
Note: I'm using
neovim
init.vim
:PlugInstall
Expected Behavior
The suggestion pop-up should appear with possible completion options
Actual Behavior
The first suggestion in the list is automatically selected and inserted into the buffer.
Possible Causes
After some discussion [here]() and some experimentation, it seems that the issue is caused be [this line of code]() where
completeopt
haslongest
appended to it. This is causing thenoinsert
option (whichncm2
's README specifies is necessary for it to operate properly) to have no effect (per the built-invim
documentation forcompleteopt
).Has anyone else experienced this?