diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2024-09-29 11:54:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-29 09:54:12 +0000 |
commit | 2c937d723dd6f64705bf4d901254683ba32b2846 (patch) | |
tree | d58b8905507c591f90dd86a56fb45d7643e79c60 /src/nvim/option.c | |
parent | 1405034ba3b1765e451304be0ee8ddc4d285ee87 (diff) | |
download | rneovim-2c937d723dd6f64705bf4d901254683ba32b2846.tar.gz rneovim-2c937d723dd6f64705bf4d901254683ba32b2846.tar.bz2 rneovim-2c937d723dd6f64705bf4d901254683ba32b2846.zip |
docs: misc (#30177)
Co-authored-by: Christian Clason <c.clason@uni-graz.at>
Co-authored-by: Riley Bruins <ribru17@hotmail.com>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r-- | src/nvim/option.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c index 3a5a652dd2..aac15e220a 100644 --- a/src/nvim/option.c +++ b/src/nvim/option.c @@ -246,7 +246,7 @@ static void set_init_default_backupskip(void) // note: the value (and therefore plen) may already include a path separator size_t itemsize = plen + (has_trailing_path_sep ? 0 : 1) + 2; char *item = xmalloc(itemsize); - // add a preceeding comma as a separator after the first item + // add a preceding comma as a separator after the first item size_t itemseplen = (ga.ga_len == 0) ? 0 : 1; size_t itemlen = (size_t)vim_snprintf(item, itemsize, "%s%s*", p, |