Skip to content

autocompletedelay (patch 9.1.1638) adds unnecessary delay when cycling through completion candidate #18022

Description

@gcanat

Steps to reproduce

vim --clean
:set ac acl=1000

Start adding content to the buffer, for example:

bla
blo

In insert mode, type bl. You can observe the autocomplete suggestions appearing after 1s. Then hit <c-n> to cycle through suggestions and you will see a 1sec delay aswell.

Expected behaviour

Delay only for suggestions to appear. Once they appeared, no delay when cycling with <c-n> and <c-p>.

Version of Vim

9.1.1638

Environment

Ubuntu 24.04
bash
Wayland/sway
foot terminal

Logs and stack traces

Activity

  1. added a commit that references this issue on Aug 20, 2025
    196c376
  2. added 3 commits that reference this issue on Aug 23, 2025
    db69a8a
    e002747
    6ef996a
  3. added a commit that references this issue on Sep 7, 2025
    e7f06fe
  4. added a commit that references this issue on Sep 27, 2025
    7b3a869
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions