aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/runtime.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-08-12 14:39:47 +0800
committerGitHub <noreply@github.com>2022-08-12 14:39:47 +0800
commitd4f5e0db3c61a316013cc17739f6e8abc1c5907b (patch)
tree26815d394348a994820171a9cbc0f27678ff2e89 /src/nvim/runtime.c
parent0d9e09bf670724caec9939a7165e25c4abc40291 (diff)
parenta93d29589ae1aab9f5fff11fccbe3ed14cb089ce (diff)
downloadrneovim-d4f5e0db3c61a316013cc17739f6e8abc1c5907b.tar.gz
rneovim-d4f5e0db3c61a316013cc17739f6e8abc1c5907b.tar.bz2
rneovim-d4f5e0db3c61a316013cc17739f6e8abc1c5907b.zip
Merge pull request #19733 from zeertzjq/vim-8.1.1684
vim-patch:8.1.{1684,1689}: profiling code is spread out
Diffstat (limited to 'src/nvim/runtime.c')
-rw-r--r--src/nvim/runtime.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/runtime.c b/src/nvim/runtime.c
index 5d28d624fe..4038e9f78a 100644
--- a/src/nvim/runtime.c
+++ b/src/nvim/runtime.c
@@ -14,6 +14,7 @@
#include "nvim/lua/executor.h"
#include "nvim/option.h"
#include "nvim/os/os.h"
+#include "nvim/profile.h"
#include "nvim/runtime.h"
#include "nvim/vim.h"
@@ -21,6 +22,8 @@
# include "runtime.c.generated.h"
#endif
+garray_T script_items = { 0, 0, sizeof(scriptitem_T), 4, NULL };
+
static bool runtime_search_path_valid = false;
static int *runtime_search_path_ref = NULL;
static RuntimeSearchPath runtime_search_path;