aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/option.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-02-14 18:56:30 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-02-14 18:56:30 +0800
commitdcefd48c1b7023bb1dce25bf9f6cfce47edbe993 (patch)
tree58bce3c008b9c154b93975b446c2520701dcaca4 /src/nvim/option.c
parentc9b46f154bfd1208310f8de931e899f562da9a95 (diff)
downloadrneovim-dcefd48c1b7023bb1dce25bf9f6cfce47edbe993.tar.gz
rneovim-dcefd48c1b7023bb1dce25bf9f6cfce47edbe993.tar.bz2
rneovim-dcefd48c1b7023bb1dce25bf9f6cfce47edbe993.zip
vim-patch:8.2.0156: various typos in source files and tests
Problem: Various typos in source files and tests. Solution: Fix the typos. (Emir Sari, closes vim/vim#5532) https://github.com/vim/vim/commit/4b96df5a017a04141c4e901b1fc5704a3ca48099
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r--src/nvim/option.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c
index c8e50d4494..d97a22c342 100644
--- a/src/nvim/option.c
+++ b/src/nvim/option.c
@@ -4277,7 +4277,7 @@ static char *set_num_option(int opt_idx, char_u *varp, long value, char *errbuf,
}
// Save the global value before changing anything. This is needed as for
- // a global-only option setting the "local value" infact sets the global
+ // a global-only option setting the "local value" in fact sets the global
// value (since there is only one value).
if ((opt_flags & (OPT_LOCAL | OPT_GLOBAL)) == 0) {
old_global_value = *(long *)get_varp_scope(&(options[opt_idx]), OPT_GLOBAL);