aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/vim.h
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-08-26 11:13:20 +0800
committerGitHub <noreply@github.com>2023-08-26 11:13:20 +0800
commit1635c9e75e21e07c4331cf983e14a11c7e09b119 (patch)
tree2acd3792ff17e17b9caa5c7b90e63710ffcba103 /src/nvim/vim.h
parentb1cfb299df2ef412339f594173ed23c75c090c8a (diff)
downloadrneovim-1635c9e75e21e07c4331cf983e14a11c7e09b119.tar.gz
rneovim-1635c9e75e21e07c4331cf983e14a11c7e09b119.tar.bz2
rneovim-1635c9e75e21e07c4331cf983e14a11c7e09b119.zip
refactor: move some structs out of buffer_defs.h (#24878)
Diffstat (limited to 'src/nvim/vim.h')
-rw-r--r--src/nvim/vim.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/nvim/vim.h b/src/nvim/vim.h
index 44e3e9d86a..fc1f15b285 100644
--- a/src/nvim/vim.h
+++ b/src/nvim/vim.h
@@ -13,6 +13,14 @@
#include "auto/config.h"
#define HAVE_PATHDEF
+// Some file names are stored in pathdef.c, which is generated from the
+// Makefile to make their value depend on the Makefile.
+#ifdef HAVE_PATHDEF
+extern char *default_vim_dir;
+extern char *default_vimruntime_dir;
+extern char *default_lib_dir;
+#endif
+
// Check if configure correctly managed to find sizeof(int). If this failed,
// it becomes zero. This is likely a problem of not being able to run the
// test program. Other items from configure may also be wrong then!