mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 14:08:32 +00:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user