Revert "vim-patch:8.1.0822: peeking and flushing output slows down execution"

This reverts commit 0519a75f6e.
This commit is contained in:
Jan Edmund Lazo
2020-12-31 15:40:18 -05:00
parent 27548e3cd0
commit b01a60b1aa
7 changed files with 14 additions and 29 deletions

View File

@@ -121,7 +121,7 @@ describe('NULL', function()
null_test('does not make Neovim crash when v:oldfiles gets assigned to that', ':let v:oldfiles = L|oldfiles', 0)
null_expr_test('does not make complete() crash or error out',
'execute(":normal i\\<C-r>=complete(1, L)[-1]\\n")',
0, '', function()
'', '\n', function()
eq({''}, curbufmeths.get_lines(0, -1, false))
end)
null_expr_test('is accepted by setmatches()', 'setmatches(L)', 0, 0)