aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-04-07 23:26:03 +0800
committerGitHub <noreply@github.com>2022-04-07 23:26:03 +0800
commit1edca3872e7c80a5396b84ffddb879cc18633d56 (patch)
treed7aa63433f5ec81b7fe113812fbb207b9c95bdc8 /src/nvim/testdir
parentabc157a6fd5ed2f09271ee3dd75d23d9ec3e0313 (diff)
downloadrneovim-1edca3872e7c80a5396b84ffddb879cc18633d56.tar.gz
rneovim-1edca3872e7c80a5396b84ffddb879cc18633d56.tar.bz2
rneovim-1edca3872e7c80a5396b84ffddb879cc18633d56.zip
vim-patch:8.2.4707: redrawing could be a bit more efficient (#18022)
Problem: Redrawing could be a bit more efficient. Solution: Optimize redrawing. (closes vim/vim#10105) https://github.com/vim/vim/commit/8c9796085071950f9a03ca0fe116608e4f86aac2
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r--src/nvim/testdir/test_highlight.vim8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_highlight.vim b/src/nvim/testdir/test_highlight.vim
index 5588e515e1..efdf44a0d6 100644
--- a/src/nvim/testdir/test_highlight.vim
+++ b/src/nvim/testdir/test_highlight.vim
@@ -615,6 +615,14 @@ func Test_cursorcolumn_insert_on_tab()
call TermWait(buf)
call VerifyScreenDump(buf, 'Test_cursorcolumn_insert_on_tab_2', {})
+ call term_sendkeys(buf, "\<C-O>")
+ call TermWait(buf)
+ call VerifyScreenDump(buf, 'Test_cursorcolumn_insert_on_tab_3', {})
+
+ call term_sendkeys(buf, 'i')
+ call TermWait(buf)
+ call VerifyScreenDump(buf, 'Test_cursorcolumn_insert_on_tab_2', {})
+
call StopVimInTerminal(buf)
call delete('Xcuc_insert_on_tab')
endfunc