aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/edit.c
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2021-07-08 00:28:44 +0200
committerGitHub <noreply@github.com>2021-07-07 15:28:44 -0700
commit4547137aaff32b20172870a549d3a28a3c7adf1c (patch)
tree0f40a62b3741c57a6f5759dc25f8932a26922908 /src/nvim/edit.c
parente2bc7e321b4a8bec3727cf342a84eb1e85dadbc8 (diff)
downloadrneovim-4547137aaff32b20172870a549d3a28a3c7adf1c.tar.gz
rneovim-4547137aaff32b20172870a549d3a28a3c7adf1c.tar.bz2
rneovim-4547137aaff32b20172870a549d3a28a3c7adf1c.zip
chore: use codespell to spell check #15016
Diffstat (limited to 'src/nvim/edit.c')
-rw-r--r--src/nvim/edit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/edit.c b/src/nvim/edit.c
index 1579f3ff98..38ddd3af12 100644
--- a/src/nvim/edit.c
+++ b/src/nvim/edit.c
@@ -2453,7 +2453,7 @@ static int ins_compl_add(char_u *const str, int len,
///
/// @param match completion match
/// @param str character string to check
-/// @param len lenth of "str"
+/// @param len length of "str"
static bool ins_compl_equal(compl_T *match, char_u *str, size_t len)
FUNC_ATTR_PURE FUNC_ATTR_WARN_UNUSED_RESULT FUNC_ATTR_NONNULL_ALL
{
@@ -8024,7 +8024,7 @@ static void ins_bs_one(colnr_T *vcolp)
/// Handle Backspace, delete-word and delete-line in Insert mode.
///
-/// @param c charcter that was typed
+/// @param c character that was typed
/// @param mode backspace mode to use
/// @param[in,out] inserted_space_p whether a space was the last
// character inserted
@@ -8251,7 +8251,7 @@ static bool ins_bs(int c, int mode, int *inserted_space_p)
ins_bs_one(&vcol);
}
} else {
- // Delete upto starting point, start of line or previous word.
+ // Delete up to starting point, start of line or previous word.
int prev_cclass = 0;
int cclass = mb_get_class(get_cursor_pos_ptr());