diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-11-26 22:06:31 -0500 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-11-26 22:07:53 -0500 |
commit | 006beb73c7734247b4d5d1f25afc18dac28af702 (patch) | |
tree | a04b0557a10ca404de885e57f725b7eef9f3d995 | |
parent | 5ee6c3bd715b0e9c933bad77e7f8bea1ac19c1a1 (diff) | |
download | rneovim-006beb73c7734247b4d5d1f25afc18dac28af702.tar.gz rneovim-006beb73c7734247b4d5d1f25afc18dac28af702.tar.bz2 rneovim-006beb73c7734247b4d5d1f25afc18dac28af702.zip |
vim-patch:8.1.1254: mapping completion contains dead code
Problem: Mapping completion contains dead code.
Solution: Remove the code.
https://github.com/vim/vim/commit/61df0c7996d9acc94267735abc214cb176e63ede
-rw-r--r-- | src/nvim/testdir/test_cmdline.vim | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_cmdline.vim b/src/nvim/testdir/test_cmdline.vim index e76817630b..fe3eaba817 100644 --- a/src/nvim/testdir/test_cmdline.vim +++ b/src/nvim/testdir/test_cmdline.vim @@ -107,9 +107,14 @@ func Test_map_completion() " set cpo+=< map <Left> left + exe "set t_k6=\<Esc>[17~" + call feedkeys(":map \<Esc>[17~x f6x\<CR>", 'xt') call feedkeys(":map <L\<Tab>\<Home>\"\<CR>", 'xt') call assert_equal('"map <Left>', getreg(':')) + call feedkeys(":map \<Esc>[17~\<Tab>\<Home>\"\<CR>", 'xt') + " call assert_equal("\"map <F6>x", getreg(':')) unmap <Left> + call feedkeys(":unmap \<Esc>[17~x\<CR>", 'xt') set cpo-=< set cpo+=B |