Skip to content

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

@gcanat

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

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