vim-patch:8.1.1254: mapping completion contains dead code

Problem:    Mapping completion contains dead code.
Solution:   Remove the code.
61df0c7996
This commit is contained in:
Jan Edmund Lazo
2019-11-26 22:06:31 -05:00
parent 5ee6c3bd71
commit 006beb73c7

View File

@@ -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