diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-07-19 07:14:32 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-19 07:14:32 +0800 |
commit | ab5cdbd167353a0c6a0ef0b864d78af13029339c (patch) | |
tree | 5a3e8b3d5a56d6cea9b878103f7563c0756fce5b /src | |
parent | be74807eef13ff8c90d55cf8b22b01d6d33b1641 (diff) | |
download | rneovim-ab5cdbd167353a0c6a0ef0b864d78af13029339c.tar.gz rneovim-ab5cdbd167353a0c6a0ef0b864d78af13029339c.tar.bz2 rneovim-ab5cdbd167353a0c6a0ef0b864d78af13029339c.zip |
test(startup_spec): add a test for #18315 (#24391)
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/runtime.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/runtime.c b/src/nvim/runtime.c index 9614937c4c..290b773371 100644 --- a/src/nvim/runtime.c +++ b/src/nvim/runtime.c @@ -1237,7 +1237,8 @@ void load_plugins(void) add_pack_start_dirs(); } - // don't use source_runtime() yet so we can check for :packloadall below + // Don't use source_runtime_vim_lua() yet so we can check for :packloadall below. + // NB: after calling this "rtp_copy" may have been freed if it wasn't copied. source_in_path_vim_lua(rtp_copy, plugin_pattern, DIP_ALL | DIP_NOAFTER); TIME_MSG("loading rtp plugins"); |