vim-patch:8.2.3825: various comments could be improved

Problem:    Various comments could be improved.
Solution:   Improve the comments.
52797bae17
This commit is contained in:
zeertzjq
2021-12-16 23:05:52 +08:00
parent 56fa08b458
commit f59f81c32e
4 changed files with 24 additions and 23 deletions

View File

@@ -1894,7 +1894,7 @@ static int handle_mapping(int *keylenp, bool *timedout, int *mapdepth)
// buffer right here. Otherwise, use the mapping (loop around).
if (mp == NULL) {
*keylenp = keylen;
return map_result_get; // got character, break for loop
return map_result_get; // get character from typeahead
} else {
keylen = mp_match_len;
}
@@ -2166,7 +2166,7 @@ static int vgetorpeek(bool advance)
KeyNoremap = typebuf.tb_noremap[typebuf.tb_off];
del_typebuf(1, 0);
}
break;
break; // got character, break the for loop
}
// not enough characters, get more