This commit is contained in:
Jan Edmund Lazo
2021-12-05 23:33:22 -05:00
committed by GitHub
parent 4306b395de
commit 523f03b506
18 changed files with 151 additions and 166 deletions

View File

@@ -1794,11 +1794,9 @@ static int vgetorpeek(bool advance)
* try re-mapping.
*/
for (;;) {
/*
* os_breakcheck() is slow, don't use it too often when
* inside a mapping. But call it each time for typed
* characters.
*/
// os_breakcheck() is slow, don't use it too often when
// inside a mapping. But call it each time for typed
// characters.
if (typebuf.tb_maplen) {
line_breakcheck();
} else {