1
0
forked from aniani/vim

patch 8.0.0523: dv} deletes part of a multi-byte character.

Problem:    dv} deletes part of a multi-byte character. (Urtica Dioica)
Solution:   Include the whole character.
This commit is contained in:
Bram Moolenaar
2017-03-29 19:48:11 +02:00
parent 3fcfa35f82
commit bf3d58073f
3 changed files with 23 additions and 1 deletions

View File

@@ -2290,3 +2290,15 @@ func Test_normal_large_count()
normal 6666666666dL
bwipe!
endfunc
func Test_delete_until_paragraph()
if !has('multi_byte')
return
endif
new
normal grádv}
call assert_equal('á', getline(1))
normal grád}
call assert_equal('', getline(1))
bwipe!
endfunc