aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/globals.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/globals.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/globals.h')
-rw-r--r--src/nvim/globals.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/nvim/globals.h b/src/nvim/globals.h
index a1156a0196..1a7a62174d 100644
--- a/src/nvim/globals.h
+++ b/src/nvim/globals.h
@@ -4,10 +4,12 @@
#include <inttypes.h>
#include <stdbool.h>
+#include "nvim/arglist_defs.h"
#include "nvim/ascii.h"
#include "nvim/event/loop.h"
#include "nvim/ex_cmds_defs.h"
#include "nvim/ex_eval_defs.h"
+#include "nvim/getchar_defs.h"
#include "nvim/iconv.h"
#include "nvim/macros.h"
#include "nvim/mbyte.h"
@@ -809,14 +811,6 @@ enum {
WM_LIST = 3, ///< cmdline CTRL-D
};
-// 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
-
// When a window has a local directory, the absolute path of the global
// current directory is stored here (in allocated memory). If the current
// directory is not a local directory, globaldir is NULL.