vim-patch:8.2.5064: no test for what 8.1.0052 fixes (#18881)

Problem:    No test for what 8.1.0052 fixes.
Solution:   Add a test. (closes vim/vim#10531)
3760bfddc4
This commit is contained in:
zeertzjq
2022-06-07 00:19:57 +08:00
committed by GitHub
parent 41a49dd9c8
commit ab1f96e1d5
3 changed files with 49 additions and 2 deletions

View File

@@ -2585,8 +2585,8 @@ static int vgetorpeek(bool 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;
}