0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 8.2.5064: no test for what 8.1.0052 fixes

Problem:    No test for what 8.1.0052 fixes.
Solution:   Add a test. (closes #10531)
This commit is contained in:
zeertzjq
2022-06-06 16:22:46 +01:00
committed by Bram Moolenaar
parent 44a3f3353e
commit 3760bfddc4
3 changed files with 34 additions and 2 deletions

View File

@@ -3458,8 +3458,8 @@ vgetorpeek(int advance)
* get a character: 3. from the user - get it
*/
if (typebuf.tb_len == 0)
// timedout may have been set while waiting for a mapping
// that has a <Nop> RHS.
// timedout may have been set if a mapping with empty RHS
// fully matched while longer mappings timed out.
timedout = FALSE;
if (advance)