aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2024-09-29 11:54:12 +0200
committerGitHub <noreply@github.com>2024-09-29 09:54:12 +0000
commit2c937d723dd6f64705bf4d901254683ba32b2846 (patch)
treed58b8905507c591f90dd86a56fb45d7643e79c60 /src
parent1405034ba3b1765e451304be0ee8ddc4d285ee87 (diff)
downloadrneovim-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')
-rw-r--r--src/nvim/CMakeLists.txt1
-rw-r--r--src/nvim/option.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/CMakeLists.txt b/src/nvim/CMakeLists.txt
index 20481153ed..8020bbd6e3 100644
--- a/src/nvim/CMakeLists.txt
+++ b/src/nvim/CMakeLists.txt
@@ -161,7 +161,6 @@ elseif(CMAKE_SYSTEM_NAME MATCHES "Darwin")
# https://github.com/neovim/neovim/issues/25295
target_link_options(nvim_bin PRIVATE "-Wl,-export_dynamic")
# Apple Clang 16's new deduplication pass leads to lock-up on start
- # TODO(clason): verify that problem remains after release or remove
target_link_options(nvim_bin PRIVATE "-Wl,-no_deduplicate")
elseif(CMAKE_SYSTEM_NAME MATCHES "OpenBSD")
target_link_libraries(main_lib INTERFACE pthread c++abi)
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,