-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix longest highlight to use <up>/<down> + to work properly w/ longes…
…t enhanced
- Loading branch information
Showing
1 changed file
with
9 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
e026beb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This appears to cause problems with g:SuperTabLongestHighlight=1 and only a single entry in the completion list: then entry is automatically picked, and then the cursor moves one line upwards.
I've thrown a "echomsg pumvisible()" in there (above) and it says "0" always, even when the menu comes up (for non-exact matches).
Looking at ":h 'completeopt'" you may have to handle also "menuone" here.
e026beb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, I can't reproduce this. Can you open an issue (http://github.com/ervandew/supertab/issues) and include your completeopt value (:set completeopt?) along with an example of how to reproduce the problem (the file's text, the text prior to attempting completion, the completion method you're using, etc.).
e026beb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have created issue #14 about this.