diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2025-10-26 22:19:32 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-26 22:19:32 +0800 |
| commit | 2407833ba163e3390c471e632b39d6714afe3ece (patch) | |
| tree | fb8cd526852f79f9f015b2258c32c8a46225edee /runtime/lua/vim/_extui/shared.lua | |
| parent | 07461bac27962345ec46feea2e6200f4f82afce7 (diff) | |
| download | rneovim-2407833ba163e3390c471e632b39d6714afe3ece.tar.gz rneovim-2407833ba163e3390c471e632b39d6714afe3ece.tar.bz2 rneovim-2407833ba163e3390c471e632b39d6714afe3ece.zip | |
vim-patch:9.1.1872: Cmdline history not updated when mapping <Up> and <CR> (#36334)
Problem: Cmdline history not updated when mapping both <Up> and <CR>.
Solution: Consider the command typed when in Cmdline mode and there is
no pending input (zeertzjq).
Although the existing behavior technically does match documentation, the
"completely come from mappings" part is a bit ambiguous, because one may
argue that the command doesn't completely come from mappings as long as
the user has typed a key in Cmdline mode. I'm not entirely sure if this
change will cause problems, but it seems unlikely.
fixes: vim/vim#2771
related: neovim/neovim#36256
closes: vim/vim#18607
https://github.com/vim/vim/commit/97b6e8b4243cc96dbb8716d518976a5ce0515748
Diffstat (limited to 'runtime/lua/vim/_extui/shared.lua')
0 files changed, 0 insertions, 0 deletions