Merge pull request #17411 from zeertzjq/vim-8.2.3820

vim-patch:8.2.{3820,3823}: "vrc" does not replace composing characters
This commit is contained in:
zeertzjq
2022-02-15 20:36:01 +08:00
committed by GitHub
2 changed files with 10 additions and 2 deletions

View File

@@ -636,6 +636,11 @@ func Test_characterwise_visual_mode()
normal v$rx
call assert_equal(['x'], getline(1, '$'))
" replace a character with composing characters
call setline(1, "xã̳x")
normal gg0lvrb
call assert_equal("xbx", getline(1))
bwipe!
endfunc