aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2022-02-08 01:19:06 +0100
committerGitHub <noreply@github.com>2022-02-08 08:19:06 +0800
commit64116d78502e0ca611e13adf9323ef2d3fe708c2 (patch)
tree67137cdf1fbdf9f5eb6b7a0da81ad7a805d2888a /src
parent9259bc62150e28875d19ea1449d9ea649d842c62 (diff)
downloadrneovim-64116d78502e0ca611e13adf9323ef2d3fe708c2.tar.gz
rneovim-64116d78502e0ca611e13adf9323ef2d3fe708c2.tar.bz2
rneovim-64116d78502e0ca611e13adf9323ef2d3fe708c2.zip
chore: fix typos (#17250)
Co-authored-by: zeertzjq <zeertzjq@outlook.com> Co-authored-by: Dani Dickstein <daniel.dickstein@gmail.com> Co-authored-by: Axel Dahlberg <git@valleymnt.com>
Diffstat (limited to 'src')
-rw-r--r--src/nvim/getchar.h2
-rw-r--r--src/nvim/testdir/test_breakindent.vim2
-rw-r--r--src/nvim/tui/input.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/getchar.h b/src/nvim/getchar.h
index be10e150e5..f24a4e7c7c 100644
--- a/src/nvim/getchar.h
+++ b/src/nvim/getchar.h
@@ -55,7 +55,7 @@ struct map_arguments {
char_u *orig_rhs; /// The original text of the {rhs}.
size_t orig_rhs_len;
- char *desc; /// map escription
+ char *desc; /// map description
};
typedef struct map_arguments MapArguments;
#define MAP_ARGUMENTS_INIT { false, false, false, false, false, false, false, \
diff --git a/src/nvim/testdir/test_breakindent.vim b/src/nvim/testdir/test_breakindent.vim
index 8d592f21ea..b619f2adb6 100644
--- a/src/nvim/testdir/test_breakindent.vim
+++ b/src/nvim/testdir/test_breakindent.vim
@@ -20,7 +20,7 @@ func s:screen_lines2(lnums, lnume, width) abort
return ScreenLines([a:lnums, a:lnume], a:width)
endfunc
-func! s:compare_lines(expect, actual)
+func s:compare_lines(expect, actual)
call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))
endfunc
diff --git a/src/nvim/tui/input.c b/src/nvim/tui/input.c
index 6e48df3734..6b889cf97c 100644
--- a/src/nvim/tui/input.c
+++ b/src/nvim/tui/input.c
@@ -227,7 +227,7 @@ static void forward_modified_utf8(TermInput *input, TermKeyKey *key)
&& !(key->modifiers & TERMKEY_KEYMOD_SHIFT)
&& ASCII_ISUPPER(key->code.codepoint)) {
assert(len <= 62);
- // Make remove for the S-
+ // Make room for the S-
memmove(buf + 3, buf + 1, len - 1);
buf[1] = 'S';
buf[2] = '-';