vim-lua-ftplugin icon indicating copy to clipboard operation
vim-lua-ftplugin copied to clipboard

Prevent automatically selecting first option on autocomplete menu popup

Open dpino opened this issue 7 years ago • 2 comments

I've been experiencing a problem related with autocomplete of Lua keywords. On pressing dot, Vim automatically picks up the first choice.

For instance, if I type "table", then on typing ".", Vim automatically autocompletes with "concat" which is the first menu entry. Then I have to remove "concat" to see all the possible options.

I don't know whether other users experienced the same issue. But it seems it's a common problem related with Vim's autocomplete. See:

https://github.com/davidhalter/jedi-vim/issues/32

The patch fixes the issue in a similar fashion as in the link pasted above. Downside is that complete menu do not marks any choice. To pick up one is necessary to press "down" and then return.

dpino avatar Jun 29 '17 06:06 dpino

I can confirm this happens on python as well with jedi-vim

milin avatar Oct 25 '17 01:10 milin

I don't experience this issue in lua with xolox/vim-lua-ftplugin, but I don't have jedi-vim.

idbrii avatar Mar 12 '18 17:03 idbrii