diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2024-08-02 13:15:16 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-02 13:15:16 +0800 |
| commit | 76dea5feaa1ab3f2e987ac3ff35238f8e29f2242 (patch) | |
| tree | 075b4793350d5bef55da000f89d75d90ecfc7c7e /src/nvim/runtime.c | |
| parent | 48e4589eaded3213956aa9ddbcc0aa6971a974e5 (diff) | |
| parent | 99bb0a10d3400ee8b9b2773d51a957dacbf52b33 (diff) | |
| download | rneovim-76dea5feaa1ab3f2e987ac3ff35238f8e29f2242.tar.gz rneovim-76dea5feaa1ab3f2e987ac3ff35238f8e29f2242.tar.bz2 rneovim-76dea5feaa1ab3f2e987ac3ff35238f8e29f2242.zip | |
Merge pull request #29951 from zeertzjq/vim-9.0.0632
vim-patch:9.0.{0632,0634,0635},9.1.0649
Diffstat (limited to 'src/nvim/runtime.c')
| -rw-r--r-- | src/nvim/runtime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/runtime.c b/src/nvim/runtime.c index 2cae79c0fd..3aa558f305 100644 --- a/src/nvim/runtime.c +++ b/src/nvim/runtime.c @@ -1100,7 +1100,7 @@ static int load_pack_plugin(bool opt, char *fname) // If runtime/filetype.lua wasn't loaded yet, the scripts will be // found when it loads. - if (opt && eval_to_number(cmd) > 0) { + if (opt && eval_to_number(cmd, false) > 0) { do_cmdline_cmd("augroup filetypedetect"); vim_snprintf(pat, len, ftpat, ffname); gen_expand_wildcards_and_cb(1, &pat, EW_FILE, true, source_callback_vim_lua, NULL); |