aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/getchar.c
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2022-11-29 02:45:48 +0100
committerGitHub <noreply@github.com>2022-11-29 09:45:48 +0800
commit615f124003376c007442319b31a172360796974c (patch)
tree15a19518bb30f32dab421930bbbfa4043b56ea54 /src/nvim/getchar.c
parent0badfaa6d0a86904f67e1343e839c2f7966e4716 (diff)
downloadrneovim-615f124003376c007442319b31a172360796974c.tar.gz
rneovim-615f124003376c007442319b31a172360796974c.tar.bz2
rneovim-615f124003376c007442319b31a172360796974c.zip
docs: fix typos (#21196)
Co-authored-by: zeertzjq <zeertzjq@outlook.com> Co-authored-by: Raphael <glephunter@gmail.com> Co-authored-by: Gregory Anders <greg@gpanders.com>
Diffstat (limited to 'src/nvim/getchar.c')
-rw-r--r--src/nvim/getchar.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nvim/getchar.c b/src/nvim/getchar.c
index 680ef2f29b..fa4d2942f6 100644
--- a/src/nvim/getchar.c
+++ b/src/nvim/getchar.c
@@ -2342,7 +2342,9 @@ void check_end_reg_executing(bool advance)
static int vgetorpeek(bool advance)
{
int c, c1;
- bool timedout = false; // waited for more than 1 second for mapping to complete
+ bool timedout = false; // waited for more than 'timeoutlen'
+ // for mapping to complete or
+ // 'ttimeoutlen' for complete key code
int mapdepth = 0; // check for recursive mapping
bool mode_deleted = false; // set when mode has been deleted
int new_wcol, new_wrow;