diff options
| author | Shadman <shadmansaleh3@gmail.com> | 2026-02-14 23:18:08 +0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-14 12:18:08 -0500 |
| commit | 8ab511bba524bcd5b5913d1b1205b5e4fe3f7210 (patch) | |
| tree | 2fd89793e505da2e1b2c99b58d5f4a92e9714245 /test/functional/vimscript/executable_spec.lua | |
| parent | fb6a2c964d258a72f4ae9683254dafe3cc3ea26c (diff) | |
| download | rneovim-8ab511bba524bcd5b5913d1b1205b5e4fe3f7210.tar.gz rneovim-8ab511bba524bcd5b5913d1b1205b5e4fe3f7210.tar.bz2 rneovim-8ab511bba524bcd5b5913d1b1205b5e4fe3f7210.zip | |
feat(prompt): plugins can update prompt during user input #37743
Problem:
Currently, if prompt gets changed during user-input with
prompt_setprompt() it only gets reflected in next prompt. And that
behavior is not also consistent. If user re-enters insert mode then the
user input gets discarded and a new prompt gets created with the new
prompt.
Solution:
Handle prompt_setprompt eagerly. Update the prompt display, preserve user input.
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions