aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Edmund Lazo <janedmundlazo@hotmail.com>2018-07-14 18:37:31 -0400
committerJan Edmund Lazo <janedmundlazo@hotmail.com>2018-08-06 21:56:39 -0400
commit62424fe6ee540d9da3becdebca7b5aaf4f958c71 (patch)
tree53a3bb2fafc15d713056a015d1c4b9be90ec7199 /src
parentf53c2578e79877376259390840ccce56963251c4 (diff)
downloadrneovim-62424fe6ee540d9da3becdebca7b5aaf4f958c71.tar.gz
rneovim-62424fe6ee540d9da3becdebca7b5aaf4f958c71.tar.bz2
rneovim-62424fe6ee540d9da3becdebca7b5aaf4f958c71.zip
vim-patch:8.0.1577: virtual replace test fails on MS-Windows
Problem: Virtual replace test fails on MS-Windows. Solution: Make adding a termcap entry work for a builtin terminal. Restore terminal keys in a better way. https://github.com/vim/vim/commit/e7808481507b9e11ae73c8f865e95eb2d20f6cc8
Diffstat (limited to 'src')
-rw-r--r--src/nvim/testdir/test_visual.vim6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_visual.vim b/src/nvim/testdir/test_visual.vim
index fb868e09a5..56eab7ec07 100644
--- a/src/nvim/testdir/test_visual.vim
+++ b/src/nvim/testdir/test_visual.vim
@@ -129,6 +129,8 @@ endfunc
" Test Virtual replace mode.
func Test_virtual_replace()
throw 'skipped: TODO: '
+ let save_t_kD = &t_kD
+ let save_t_kb = &t_kb
exe "set t_kD=\<C-V>x7f t_kb=\<C-V>x08"
enew!
exe "normal a\nabcdefghi\njk\tlmn\n opq rst\n\<C-D>uvwxyz"
@@ -159,7 +161,9 @@ func Test_virtual_replace()
call assert_equal(['AB......CDEFGHI.Jkl',
\ 'AB IJKLMNO QRst'], getline(12, 13))
enew!
- set noai bs&vim t_kD&vim t_kb&vim
+ set noai bs&vim
+ let &t_kD = save_t_kD
+ let &t_kb = save_t_kb
endfunc
" Test Virtual replace mode.