xolox / vim-notes

Easy note taking in Vim
http://peterodding.com/code/vim/notes/
1.6k stars 110 forks source link

Overzealous Auto-Complete #170

Open atomdmac opened 6 years ago

atomdmac commented 6 years ago

Reproduction Steps

Note: I'm using neovim

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).

Has anyone else experienced this?