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

Cursor moves one line upwards after exact match and completeopt=longest #14

Closed
blueyed opened this issue Mar 10, 2011 · 1 comment
Closed

Comments

@blueyed
Copy link
Contributor

blueyed commented Mar 10, 2011

( This issue is based on my comment at e026beb#comments )

completeopt=longest triggers this.

Sample file would be just:
foobar
foo

Put the cursor after "foo" in the second line and trigger completion. It gets completed to foobar, and the cursor moves upwards (after "foobar" in the first line).

I could not reproduce it with "gvim -u NONE" and sourcing SuperTab only, but when using my vimrc [1], with all bundles (e.g. SnipMate moved out of the way).

1: https://github.com/blueyed/dotfiles/blob/master/vimrc

@ervandew
Copy link
Owner

fix longest highlight when no matches, no menu, or one match without menuone

closed by 231e054

This issue was closed.
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

No branches or pull requests

2 participants