diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2026-05-02 11:38:31 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-02 11:38:31 +0800 |
| commit | 329dc30ef09c785b6577bae7fcbcfe44b7d9057f (patch) | |
| tree | e2c457fc07e5412a62b363441f45a7b84fc80645 /src/nvim/lua/executor.c | |
| parent | 41146f9972e4f226b3d97f1c4dfa0a6785a0d59c (diff) | |
| download | rneovim-329dc30ef09c785b6577bae7fcbcfe44b7d9057f.tar.gz rneovim-329dc30ef09c785b6577bae7fcbcfe44b7d9057f.tar.bz2 rneovim-329dc30ef09c785b6577bae7fcbcfe44b7d9057f.zip | |
vim-patch:partial:9.2.0423: popup: wrapped cmdline truncated with wildoptions=pum (#39553)
Problem: popup: wrapped cmdline truncated with wildoptions=pum
Solution: Call msg_starthere() in redrawcmd() to reset lines_left
before each redraw (Yasuhiro Matsumoto).
redrawcmd() leaves lines_left at its previous value, which decrements
across successive redraws (e.g. when wildtrigger() refreshes the popup
on every keystroke) until 0, after which msg_no_more aborts drawing
the wrapped cmdline. Call msg_starthere() to reset it.
related: vim/vim#20081
https://github.com/vim/vim/commit/587447ec64ffd9e6eaba329ffd9d778159ea6e32
The problem mentioned in the PR cannot be reproduced in Nvim. It's not
clear if this change will solve or cause any problems in Nvim, so let's
first try it without adding the test.
Co-authored-by: Yasuhiro Matsumoto <mattn.jp@gmail.com>
Diffstat (limited to 'src/nvim/lua/executor.c')
0 files changed, 0 insertions, 0 deletions