diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2024-12-18 07:34:52 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2024-12-18 08:15:31 +0800 |
| commit | 2f7b385f2ef61626bc034bd6f3a25f5ec9f3a1f3 (patch) | |
| tree | 22fa7d5d9c4621fb3cf9a313bf348a1135fd4c83 /test/old/testdir | |
| parent | c830901e8cde49467d1c99c2d656a13e51979790 (diff) | |
| download | rneovim-2f7b385f2ef61626bc034bd6f3a25f5ec9f3a1f3.tar.gz rneovim-2f7b385f2ef61626bc034bd6f3a25f5ec9f3a1f3.tar.bz2 rneovim-2f7b385f2ef61626bc034bd6f3a25f5ec9f3a1f3.zip | |
vim-patch:9.1.0941: ComplMatchIns doesn't work after multibyte chars
Problem: ComplMatchIns doesn't work after multibyte chars
(after v9.1.0936)
Solution: Use (ptr - line) instead of wlv.col (zeertzjq).
closes: vim/vim#16233
https://github.com/vim/vim/commit/f4ccada5c372b2c14cc32490860c6995cd00268c
Diffstat (limited to 'test/old/testdir')
| -rw-r--r-- | test/old/testdir/test_popup.vim | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/old/testdir/test_popup.vim b/test/old/testdir/test_popup.vim index 4f5b769ace..de8674dad0 100644 --- a/test/old/testdir/test_popup.vim +++ b/test/old/testdir/test_popup.vim @@ -1729,29 +1729,29 @@ func Test_pum_matchins_higlight() let buf = RunVimInTerminal('-S Xscript', {}) call TermWait(buf) - call term_sendkeys(buf, "S\<C-X>\<C-O>") + call term_sendkeys(buf, "Sαβγ \<C-X>\<C-O>") call VerifyScreenDump(buf, 'Test_pum_matchins_01', {}) call term_sendkeys(buf, "\<C-E>\<Esc>") call TermWait(buf) - call term_sendkeys(buf, "S\<C-X>\<C-O>\<C-N>") + call term_sendkeys(buf, "Sαβγ \<C-X>\<C-O>\<C-N>") call VerifyScreenDump(buf, 'Test_pum_matchins_02', {}) call term_sendkeys(buf, "\<C-E>\<Esc>") call TermWait(buf) - call term_sendkeys(buf, "S\<C-X>\<C-O>\<C-N>\<C-N>") + call term_sendkeys(buf, "Sαβγ \<C-X>\<C-O>\<C-N>\<C-N>") call VerifyScreenDump(buf, 'Test_pum_matchins_03', {}) call term_sendkeys(buf, "\<C-E>\<Esc>") " restore after accept call TermWait(buf) - call term_sendkeys(buf, "S\<C-X>\<C-O>\<C-Y>") + call term_sendkeys(buf, "Sαβγ \<C-X>\<C-O>\<C-Y>") call VerifyScreenDump(buf, 'Test_pum_matchins_04', {}) call term_sendkeys(buf, "\<C-E>\<Esc>") " restore after cancel completion call TermWait(buf) - call term_sendkeys(buf, "S\<C-X>\<C-O>\<Space>") + call term_sendkeys(buf, "Sαβγ \<C-X>\<C-O>\<Space>") call VerifyScreenDump(buf, 'Test_pum_matchins_05', {}) call term_sendkeys(buf, "\<C-E>\<Esc>") |