diff options
| author | Shadman <shadmansaleh3@gmail.com> | 2025-06-25 01:42:16 +0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-24 12:42:16 -0700 |
| commit | 5ae41ddde35041e0601e94d1c6b348029c3b305b (patch) | |
| tree | f6d4d3c763e96a0694e0f86adc8f07cd546406b3 /runtime/lua/vim/_system.lua | |
| parent | efd0fa55c8b1ba78692382c52a9d644fdd5488c8 (diff) | |
| download | rneovim-5ae41ddde35041e0601e94d1c6b348029c3b305b.tar.gz rneovim-5ae41ddde35041e0601e94d1c6b348029c3b305b.tar.bz2 rneovim-5ae41ddde35041e0601e94d1c6b348029c3b305b.zip | |
feat(prompt): prompt_getinput() gets current input #34491
Problem:
Not easy to get user-input in prompt-buffer before the user submits the
input. Under the current system user/plugin needs to read the buffer
contents, figure out where the prompt is, then extract the text.
Solution:
- Add prompt_getinput().
- Extract prompt text extraction logic to a separate function
Diffstat (limited to 'runtime/lua/vim/_system.lua')
0 files changed, 0 insertions, 0 deletions