aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/option.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/option.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/option.c')
-rw-r--r--src/nvim/option.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c
index 388bedc043..fd15114999 100644
--- a/src/nvim/option.c
+++ b/src/nvim/option.c
@@ -1174,10 +1174,10 @@ int do_set(
}
}
- /*
- * allow '=' and ':' as MSDOS command.com allows only one
- * '=' character per "set" command line. grrr. (jw)
- */
+ //
+ // allow '=' and ':' as MS-DOS command.com allows only one
+ // '=' character per "set" command line. grrr. (jw)
+ //
if (nextchar == '?'
|| (prefix == 1
&& vim_strchr((char_u *)"=:&<", nextchar) == NULL
@@ -2719,7 +2719,7 @@ ambw_end:
: opt_idx);
// Update free_oldval now that we have the opt_idx for 'shada', otherwise
// there would be a disconnect between the check for P_ALLOCED at the start
- // of the function and the set of P_ALLOCED at the end of the fuction.
+ // of the function and the set of P_ALLOCED at the end of the function.
free_oldval = (options[opt_idx].flags & P_ALLOCED);
for (s = p_shada; *s; ) {
// Check it's a valid character
@@ -5363,7 +5363,7 @@ static int put_setstring(FILE *fd, char *cmd, char *name,
home_replace(NULL, *valuep, buf, size, false);
// If the option value is longer than MAXPATHL, we need to append
- // earch comma separated part of the option sperately, so that it
+ // search comma separated part of the option separately, so that it
// can be expanded when read back.
if (size >= MAXPATHL && (flags & P_COMMA) != 0
&& vim_strchr(*valuep, ',') != NULL) {