diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-09-09 17:47:28 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2023-09-09 17:58:32 +0800 |
commit | b9d9cd77421a7906d6e0a968a3c0ddd86e9923fe (patch) | |
tree | 74ed486e5a2a825d99fed78b28661ffcde0bfae2 /src/nvim/keycodes.c | |
parent | bc09fc04b8ef216bafa34792c3486a750e5c8bb3 (diff) | |
download | rneovim-b9d9cd77421a7906d6e0a968a3c0ddd86e9923fe.tar.gz rneovim-b9d9cd77421a7906d6e0a968a3c0ddd86e9923fe.tar.bz2 rneovim-b9d9cd77421a7906d6e0a968a3c0ddd86e9923fe.zip |
vim-patch:partial:9.0.1886: Various Typos
Problem: Various Typos
Solution: Fix Typos
This is a collection of typo related commits.
closes: vim/vim#12753
closes: vim/vim#13016
https://github.com/vim/vim/commit/ee17b6f70d382ec6c5d8d27b56c4e84106ac8c55
Co-authored-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Adri Verhoef <a3@a3.xs4all.nl>
Co-authored-by: Viktor Szépe <viktor@szepe.net>
Co-authored-by: nuid64 <lvkuzvesov@proton.me>
Co-authored-by: Meng Xiangzhuo <aumo@foxmail.com>
Co-authored-by: Dominique Pellé <dominique.pelle@gmail.com>
Diffstat (limited to 'src/nvim/keycodes.c')
-rw-r--r-- | src/nvim/keycodes.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/keycodes.c b/src/nvim/keycodes.c index f2391cc541..55cd22f181 100644 --- a/src/nvim/keycodes.c +++ b/src/nvim/keycodes.c @@ -919,7 +919,8 @@ char *replace_termcodes(const char *const from, const size_t from_len, char **co // Check for special <> keycodes, like "<C-S-LeftMouse>" if (do_special && ((flags & REPTERM_DO_LT) || ((end - src) >= 3 && strncmp(src, "<lt>", 4) != 0))) { - // Replace <SID> by K_SNR <script-nr> _. + // Change <SID>Func to K_SNR <script-nr> _Func. This name is used + // for script-local user functions. // (room: 5 * 6 = 30 bytes; needed: 3 + <nr> + 1 <= 14) if (end - src >= 4 && STRNICMP(src, "<SID>", 5) == 0) { if (sid_arg < 0 || (sid_arg == 0 && current_sctx.sc_sid <= 0)) { |