aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_cmds2.h
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2020-11-25 12:15:55 +0100
committerBjörn Linse <bjorn.linse@gmail.com>2020-11-25 12:15:55 +0100
commit72d29847d61358322caf3415404ca3a37c438dee (patch)
tree40e0bdd0717b73c4876a0686bd190f1c6b64fa91 /src/nvim/ex_cmds2.h
parentd285fa73da7ce2cb9abfbbb423eb8506e7202411 (diff)
downloadrneovim-72d29847d61358322caf3415404ca3a37c438dee.tar.gz
rneovim-72d29847d61358322caf3415404ca3a37c438dee.tar.bz2
rneovim-72d29847d61358322caf3415404ca3a37c438dee.zip
runtime: extract 'runtimepath' and 'packpath' logic to its own file
No code changes, except for added ILOG for the calculated startup path
Diffstat (limited to 'src/nvim/ex_cmds2.h')
-rw-r--r--src/nvim/ex_cmds2.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/nvim/ex_cmds2.h b/src/nvim/ex_cmds2.h
index f85ea94ed6..de4e1429b7 100644
--- a/src/nvim/ex_cmds2.h
+++ b/src/nvim/ex_cmds2.h
@@ -4,8 +4,8 @@
#include <stdbool.h>
#include "nvim/ex_docmd.h"
+#include "nvim/runtime.h"
-typedef void (*DoInRuntimepathCB)(char_u *, void *);
//
// flags for check_changed()
@@ -16,10 +16,6 @@ typedef void (*DoInRuntimepathCB)(char_u *, void *);
#define CCGD_ALLBUF 8 // may write all buffers
#define CCGD_EXCMD 16 // may suggest using !
-// last argument for do_source()
-#define DOSO_NONE 0
-#define DOSO_VIMRC 1 // loading vimrc file
-
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "ex_cmds2.h.generated.h"
#endif