diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2022-11-29 02:45:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-29 09:45:48 +0800 |
commit | 615f124003376c007442319b31a172360796974c (patch) | |
tree | 15a19518bb30f32dab421930bbbfa4043b56ea54 /src | |
parent | 0badfaa6d0a86904f67e1343e839c2f7966e4716 (diff) | |
download | rneovim-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')
-rw-r--r-- | src/nvim/api/vim.c | 2 | ||||
-rw-r--r-- | src/nvim/getchar.c | 4 | ||||
-rw-r--r-- | src/nvim/testdir/test_vimscript.vim | 2 |
3 files changed, 5 insertions, 3 deletions
diff --git a/src/nvim/api/vim.c b/src/nvim/api/vim.c index 7a5ea7aa95..c3f71cc625 100644 --- a/src/nvim/api/vim.c +++ b/src/nvim/api/vim.c @@ -236,7 +236,7 @@ void nvim_set_hl_ns_fast(Integer ns_id, Error *err) /// /// @param keys to be typed /// @param mode behavior flags, see |feedkeys()| -/// @param escape_ks If true, escape K_SPECIAL bytes in `keys` +/// @param escape_ks If true, escape K_SPECIAL bytes in `keys`. /// This should be false if you already used /// |nvim_replace_termcodes()|, and true otherwise. /// @see feedkeys() 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; diff --git a/src/nvim/testdir/test_vimscript.vim b/src/nvim/testdir/test_vimscript.vim index c93ba9dcfc..aedc63ef00 100644 --- a/src/nvim/testdir/test_vimscript.vim +++ b/src/nvim/testdir/test_vimscript.vim @@ -6642,7 +6642,7 @@ func Test_invalid_function_names() endtry call assert_equal(1, caught_e884) - " function name folowed by # + " function name followed by # let caught_e128 = 0 try func! test2() "# |