Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent automatically selecting first option on autocomplete menu popup #46

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dpino
Copy link

@dpino dpino commented Jun 29, 2017

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:

davidhalter/jedi-vim#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.

@milin
Copy link

milin commented Oct 25, 2017

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

@idbrii
Copy link

idbrii commented Mar 12, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants