diff options
| author | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-06-07 19:33:42 -0400 |
|---|---|---|
| committer | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-06-07 19:41:30 -0400 |
| commit | 34c06887900903f1722ba556b72da5f1c9fc6dd3 (patch) | |
| tree | 4fceade476905f4417cb8a335bf0abb4fd87ff6c /src/nvim/testdir | |
| parent | db68d1d638e4986f7557877ea511e11990b5f4a3 (diff) | |
| download | rneovim-34c06887900903f1722ba556b72da5f1c9fc6dd3.tar.gz rneovim-34c06887900903f1722ba556b72da5f1c9fc6dd3.tar.bz2 rneovim-34c06887900903f1722ba556b72da5f1c9fc6dd3.zip | |
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.
https://github.com/vim/vim/commit/bf3d58073f7b34b2d65d1d08a728d1164e03cceb
Diffstat (limited to 'src/nvim/testdir')
| -rw-r--r-- | src/nvim/testdir/test_normal.vim | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_normal.vim b/src/nvim/testdir/test_normal.vim index 10d4c5dd94..27ac084ef0 100644 --- a/src/nvim/testdir/test_normal.vim +++ b/src/nvim/testdir/test_normal.vim @@ -2387,3 +2387,15 @@ func Test_changelist() %bwipe! let &ul = save_ul 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 |