diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-01-13 08:29:54 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2024-01-13 08:31:01 +0800 |
commit | 64a50d08c4866011be73d6af0e8ae90e06c3f949 (patch) | |
tree | 49958ccc99d0dde40e37abaf1a8e0c4f31715112 /test/functional/lua/buffer_updates_spec.lua | |
parent | 2783b6b0a48389f5e12109d9894269768c3e9fe5 (diff) | |
download | rneovim-64a50d08c4866011be73d6af0e8ae90e06c3f949.tar.gz rneovim-64a50d08c4866011be73d6af0e8ae90e06c3f949.tar.bz2 rneovim-64a50d08c4866011be73d6af0e8ae90e06c3f949.zip |
vim-patch:9.1.0021: i_CTRL-R- doesn't work for multibyte chars in Replace mode
Problem: i_CTRL-R- doesn't work for multibyte chars in Replace mode,
Coverity complains missing return value for u_save_cursor()
Solution: Use mb_charlen() and del_chars() instead, handle failure mode
for u_save_cursor() correctly (@zeertzjq)
closes: vim/vim#13846
https://github.com/vim/vim/commit/424ec1f235a53131042aed94d30f6e2528e551d9
Diffstat (limited to 'test/functional/lua/buffer_updates_spec.lua')
0 files changed, 0 insertions, 0 deletions