aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/usercmd.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-11-02 22:07:00 +0800
committerGitHub <noreply@github.com>2022-11-02 22:07:00 +0800
commit65f603f72c387cfac7955d8dfe51b42d35caa0f8 (patch)
treeee2734f0fe4e4d91f4f163ba99f64ce992948af9 /src/nvim/usercmd.c
parent44b88d8c310e778c55ef1f7a270d2651266054ca (diff)
parent4716a578ae0c3516d685495bb55e40c939a4ac87 (diff)
downloadrneovim-65f603f72c387cfac7955d8dfe51b42d35caa0f8.tar.gz
rneovim-65f603f72c387cfac7955d8dfe51b42d35caa0f8.tar.bz2
rneovim-65f603f72c387cfac7955d8dfe51b42d35caa0f8.zip
Merge pull request #20782 from dundargoc/docs/typos
docs: fix typos
Diffstat (limited to 'src/nvim/usercmd.c')
-rw-r--r--src/nvim/usercmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/usercmd.c b/src/nvim/usercmd.c
index 408cdc93a7..bed4d55d4e 100644
--- a/src/nvim/usercmd.c
+++ b/src/nvim/usercmd.c
@@ -1215,7 +1215,7 @@ static size_t add_cmd_modifier(char *buf, char *mod_str, bool *multi_mods)
/// was added.
///
/// @return the number of bytes added
-size_t add_win_cmd_modifers(char *buf, const cmdmod_T *cmod, bool *multi_mods)
+size_t add_win_cmd_modifiers(char *buf, const cmdmod_T *cmod, bool *multi_mods)
{
size_t result = 0;
@@ -1320,7 +1320,7 @@ size_t uc_mods(char *buf, const cmdmod_T *cmod, bool quote)
}
}
// flags from cmod->cmod_split
- result += add_win_cmd_modifers(buf, cmod, &multi_mods);
+ result += add_win_cmd_modifiers(buf, cmod, &multi_mods);
if (quote && buf != NULL) {
buf += result - 2;