aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-01-29 07:27:15 +0800
committerGitHub <noreply@github.com>2024-01-29 07:27:15 +0800
commitba7a52dedc5dd335f22522ec17a0393e068187e3 (patch)
treec41db10ebafb2bb551b6b3c7a6dd0f3c834907e9 /test
parent56ae85a33c57ce276334bbf13c32b4e38b4e4b6b (diff)
downloadrneovim-ba7a52dedc5dd335f22522ec17a0393e068187e3.tar.gz
rneovim-ba7a52dedc5dd335f22522ec17a0393e068187e3.tar.bz2
rneovim-ba7a52dedc5dd335f22522ec17a0393e068187e3.zip
vim-patch:9.1.0060: Recorded register cannot be translated using keytrans() (#27247)
Problem: Recorded register cannot be translated using keytrans() when it involves character search (iddqd505) Solution: Record a K_IGNORE instead of a K_NOP (zeertzjq) related: vim/vim#13916 closes: vim/vim#13925 https://github.com/vim/vim/commit/bf321806bf44d59f108fd7e5a0eaead04682701d
Diffstat (limited to 'test')
-rw-r--r--test/old/testdir/test_registers.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/old/testdir/test_registers.vim b/test/old/testdir/test_registers.vim
index bc90de806f..b570e745f1 100644
--- a/test/old/testdir/test_registers.vim
+++ b/test/old/testdir/test_registers.vim
@@ -829,6 +829,8 @@ func Test_replay_charsearch_omap()
call timer_start(10, {-> feedkeys(",bar\<Esc>q", 't')})
call feedkeys('qrct[', 'xt!')
call assert_equal(',bar[blah]', getline(1))
+ call assert_equal("ct[\<Ignore>,bar\<Esc>", @r)
+ call assert_equal('ct[<Ignore>,bar<Esc>', keytrans(@r))
undo
call assert_equal('foo[blah]', getline(1))
call feedkeys('@r', 'xt!')