diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2023-02-18 06:52:56 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2023-02-18 07:05:48 +0800 |
| commit | 75dab3cf0781f664ac866f511df2fb2c06aa7d17 (patch) | |
| tree | ea4012b48ec14be83ee3866936a1a2378b2debb4 /src/nvim/testdir | |
| parent | f905ab04507fc5a86affeb5eaf8550c1795ac9b8 (diff) | |
| download | rneovim-75dab3cf0781f664ac866f511df2fb2c06aa7d17.tar.gz rneovim-75dab3cf0781f664ac866f511df2fb2c06aa7d17.tar.bz2 rneovim-75dab3cf0781f664ac866f511df2fb2c06aa7d17.zip | |
fix(mappings): make "<" escaping in completion match Vim
Diffstat (limited to 'src/nvim/testdir')
| -rw-r--r-- | src/nvim/testdir/test_autocmd.vim | 2 | ||||
| -rw-r--r-- | src/nvim/testdir/test_cmdline.vim | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/testdir/test_autocmd.vim b/src/nvim/testdir/test_autocmd.vim index 30d30c8b29..6d7f1649b3 100644 --- a/src/nvim/testdir/test_autocmd.vim +++ b/src/nvim/testdir/test_autocmd.vim @@ -2720,7 +2720,7 @@ func Test_autocmd_bufreadpre() close close call delete('XAutocmdBufReadPre.txt') - " set cpo-=g + set cpo-=g endfunc " FileChangedShell tested in test_filechanged.vim diff --git a/src/nvim/testdir/test_cmdline.vim b/src/nvim/testdir/test_cmdline.vim index cf1d56ae38..64bfb142e7 100644 --- a/src/nvim/testdir/test_cmdline.vim +++ b/src/nvim/testdir/test_cmdline.vim @@ -340,7 +340,7 @@ func Test_map_completion() call feedkeys(":map <L\<Tab>\<Home>\"\<CR>", 'xt') call assert_equal('"map <Left>', getreg(':')) call feedkeys(":map <M\<Tab>\<Home>\"\<CR>", 'xt') - " call assert_equal("\"map <M\<Tab>", getreg(':')) + call assert_equal("\"map <M\<Tab>", getreg(':')) unmap <Left> " set cpo+=< @@ -369,7 +369,7 @@ func Test_map_completion() call feedkeys(":map <L\<Tab>\<Home>\"\<CR>", 'xt') call assert_equal('"map <Left>', getreg(':')) unmap <Left> - " set cpo-=k + set cpo-=k call assert_fails('call feedkeys(":map \\\\%(\<Tab>\<Home>\"\<CR>", "xt")', 'E53:') |