Skip to content

Conversation

girishji
Copy link
Contributor

@girishji girishji commented Oct 1, 2025

This PR addresses multiple issues in the 'autocompletedelay' behavior with "preinsert" and "longest".

  • Prevents spurious characters from being inserted.
  • Ensures the completion menu is not shown until autocompletedelay has expired.
  • Shows the preinsert effect immediately.
  • Keeps the preinsert effect visible even when a character is deleted.

Fixes #18443

This PR addresses multiple issues in the 'autocompletedelay' behavior with
"preinsert" and "longest".

* Prevents spurious characters from being inserted.
* Ensures the completion menu is not shown until `autocompletedelay` has
  expired.
* Shows the *preinsert* effect immediately.
* Keeps the *preinsert* effect visible even when a character is deleted.
@chrisbra
Copy link
Member

chrisbra commented Oct 3, 2025

thanks

@chrisbra chrisbra closed this in f77c187 Oct 3, 2025
@girishji
Copy link
Contributor Author

girishji commented Oct 3, 2025

thanks

@girishji girishji deleted the delaybug branch October 3, 2025 11:38
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Oct 3, 2025
Problem:  completion: some issues with 'acl' when "preinsert" and
          "longest" is in 'completeopt' (musonius, after v9.1.1638)
Solution: Fix various issues (see details below) (Girish Palya)

This commit addresses multiple issues in the 'autocompletedelay' behavior with
"preinsert" and "longest":

- Prevents spurious characters from being inserted.
- Ensures the completion menu is not shown until `autocompletedelay` has
  expired.
- Shows the "preinsert" effect immediately.
- Keeps the "preinsert" effect visible even when a character is deleted.

fixes: vim/vim#18443
closes: vim/vim#18460

vim/vim@f77c187

Co-authored-by: Girish Palya <girishji@gmail.com>
zeertzjq added a commit to neovim/neovim that referenced this pull request Oct 3, 2025
Problem:  completion: some issues with 'acl' when "preinsert" and
          "longest" is in 'completeopt' (musonius, after v9.1.1638)
Solution: Fix various issues (see details below) (Girish Palya)

This commit addresses multiple issues in the 'autocompletedelay' behavior with
"preinsert" and "longest":

- Prevents spurious characters from being inserted.
- Ensures the completion menu is not shown until `autocompletedelay` has
  expired.
- Shows the "preinsert" effect immediately.
- Keeps the "preinsert" effect visible even when a character is deleted.

fixes: vim/vim#18443
closes: vim/vim#18460

vim/vim@f77c187

Co-authored-by: Girish Palya <girishji@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants