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

Fails to update display on delegating to empty string <expr> maps in some circumstances after #17279 #17911

Closed
tpope opened this issue Mar 29, 2022 · 0 comments · Fixed by #17913
Assignees
Labels
bug issues reporting wrong behavior bug-regression wrong behavior that was introduced in a previous commit (please bisect) event-loop has:bisected issue has been tracked to a specific commit mappings key bindings

Comments

@tpope
Copy link
Contributor

tpope commented Mar 29, 2022

Neovim version (nvim -v)

NVIM v0.7.0-dev+998-g74998b044 and newer

Vim (not Nvim) behaves the same?

no, 8.2.2434

Operating system/version

Linux

Terminal name/version

urxvt 9.30

$TERM environment variable

tmux

Installation

compiled from source

How to reproduce the issue

nvim --clean
:imap <expr> <Plug>test ''
:imap <C-K> abc<CR><Plug>test
<C-K>

Expected behavior

"abc" followed by newline inserted into buffer.

Actual behavior

Hangs until another key is pressed.

See also #17257, my bug report that prompted the patch in question.

@tpope tpope added the bug issues reporting wrong behavior label Mar 29, 2022
@dundargoc dundargoc added the mappings key bindings label Mar 29, 2022
tpope added a commit to tpope/vim-endwise that referenced this issue Mar 29, 2022
@zeertzjq zeertzjq added bug-regression wrong behavior that was introduced in a previous commit (please bisect) has:bisected issue has been tracked to a specific commit labels Mar 29, 2022
@zeertzjq zeertzjq self-assigned this Mar 29, 2022
@zeertzjq zeertzjq added event-loop and removed mappings key bindings labels Mar 29, 2022
@zeertzjq zeertzjq added the mappings key bindings label Jun 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug issues reporting wrong behavior bug-regression wrong behavior that was introduced in a previous commit (please bisect) event-loop has:bisected issue has been tracked to a specific commit mappings key bindings
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants