aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/runtime.c
diff options
context:
space:
mode:
authordundargoc <gocdundar@gmail.com>2023-11-10 14:06:04 +0100
committerdundargoc <33953936+dundargoc@users.noreply.github.com>2023-11-20 20:05:43 +0100
commit488038580934f301c1528a14548ec0cabd16c2cd (patch)
treeef0d5c2e3de1cd4dce86e319c68b90c2096d2408 /src/nvim/runtime.c
parenta6e3d93421ba13c407a96fac9cc01fa41ec7ad98 (diff)
downloadrneovim-488038580934f301c1528a14548ec0cabd16c2cd.tar.gz
rneovim-488038580934f301c1528a14548ec0cabd16c2cd.tar.bz2
rneovim-488038580934f301c1528a14548ec0cabd16c2cd.zip
build: adjust clang-tidy warning exclusion logic
Enable all clang-tidy warnings by default instead of disabling them. This ensures that we don't miss useful warnings on each clang-tidy version upgrade. A drawback of this is that it will force us to either fix or adjust the warnings as soon as possible.
Diffstat (limited to 'src/nvim/runtime.c')
-rw-r--r--src/nvim/runtime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/runtime.c b/src/nvim/runtime.c
index 08a5d936b3..decf16c02e 100644
--- a/src/nvim/runtime.c
+++ b/src/nvim/runtime.c
@@ -1640,7 +1640,7 @@ char *get_lib_dir(void)
// Find library path relative to the nvim binary: ../lib/nvim/
char exe_name[MAXPATHL];
vim_get_prefix_from_exepath(exe_name);
- if (append_path(exe_name, "lib" _PATHSEPSTR "nvim", MAXPATHL) == OK) {
+ if (append_path(exe_name, "lib/nvim", MAXPATHL) == OK) {
return xstrdup(exe_name);
}
return NULL;