aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/runtime.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/runtime.h')
-rw-r--r--src/nvim/runtime.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/nvim/runtime.h b/src/nvim/runtime.h
new file mode 100644
index 0000000000..b40c2b670e
--- /dev/null
+++ b/src/nvim/runtime.h
@@ -0,0 +1,18 @@
+#ifndef NVIM_RUNTIME_H
+#define NVIM_RUNTIME_H
+
+#include <stdbool.h>
+
+#include "nvim/ex_docmd.h"
+
+typedef void (*DoInRuntimepathCB)(char_u *, void *);
+
+// last argument for do_source()
+#define DOSO_NONE 0
+#define DOSO_VIMRC 1 // loading vimrc file
+
+
+#ifdef INCLUDE_GENERATED_DECLARATIONS
+# include "runtime.h.generated.h"
+#endif
+#endif // NVIM_RUNTIME_H