diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2025-04-29 06:50:53 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2025-04-29 07:15:21 +0800 |
| commit | d75410b0918c456ed766a043704071e0073554d7 (patch) | |
| tree | c667789127f8d80a3f91ba1a7258c9c6a06fc28f /runtime/lua/vim/_ftplugin/lua.lua | |
| parent | 43f3c4a48f6cc3a4c4173591a59b8e3fcdb96759 (diff) | |
| download | rneovim-d75410b0918c456ed766a043704071e0073554d7.tar.gz rneovim-d75410b0918c456ed766a043704071e0073554d7.tar.bz2 rneovim-d75410b0918c456ed766a043704071e0073554d7.zip | |
vim-patch:9.1.1349: CmdlineLeavePre may trigger twice
Problem: CmdlineLeavePre may trigger twice
(after v9.1.1329)
Solution: check that the key was typed, trigger it when it wasn't before
(Girish Palya)
There are two problems:
- CmdlineLeavePre may be triggered twice when a cabbr is present.
- CmdlineLeavePre fails to trigger when exiting the command-line via
<Backspace>.
Check if the Carriage Return (Enter) key was actually typed.
Trigger the event when the command-line is exited using Backspace and
other keys.
closes: vim/vim#17214
https://github.com/vim/vim/commit/46755e6b52b0c4346c1c7eaa311c204fdd9185df
Co-authored-by: Girish Palya <girishji@gmail.com>
Diffstat (limited to 'runtime/lua/vim/_ftplugin/lua.lua')
0 files changed, 0 insertions, 0 deletions