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/path.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/path.c')
-rw-r--r-- | src/nvim/path.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nvim/path.c b/src/nvim/path.c index adea7ff0f7..67acc6e51b 100644 --- a/src/nvim/path.c +++ b/src/nvim/path.c @@ -1398,7 +1398,7 @@ static int expand_backtick(garray_T *gap, char *pat, int flags) char *cmd = xmemdupz(pat + 1, strlen(pat) - 2); if (*cmd == '=') { // `={expr}`: Expand expression - buffer = eval_to_string(cmd + 1, true); + buffer = eval_to_string(cmd + 1, true, false); } else { buffer = get_cmd_output(cmd, NULL, (flags & EW_SILENT) ? kShellOptSilent : 0, NULL); } @@ -1694,7 +1694,8 @@ static char *eval_includeexpr(const char *const ptr, const size_t len) current_sctx = curbuf->b_p_script_ctx[BV_INEX].script_ctx; char *res = eval_to_string_safe(curbuf->b_p_inex, - was_set_insecurely(curwin, kOptIncludeexpr, OPT_LOCAL)); + was_set_insecurely(curwin, kOptIncludeexpr, OPT_LOCAL), + true); set_vim_var_string(VV_FNAME, NULL, 0); current_sctx = save_sctx; |