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

[READY] Restore cursor position after omnifunc call #2707

Merged
merged 2 commits into from
Jul 7, 2017

Commits on Jul 7, 2017

  1. Restore cursor position after omnifunc call

    Calling directly the omnifunc may move the cursor position. This is the case
    with the default Vim omnifunc for C-family languages (ccomplete#Complete) which
    calls searchdecl to find a declaration. This function is supposed to move the
    cursor to the found declaration but it doesn't when called through the omni
    completion mapping (CTRL-X CTRL-O). So, we restore the cursor position after
    calling the omnifunc.
    micbou committed Jul 7, 2017
    Configuration menu
    Copy the full SHA
    83bb78a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dec9c0f View commit details
    Browse the repository at this point in the history