diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-08-15 08:28:20 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-08-15 10:14:53 +0800 |
commit | 9ab9eb1220113d247dd1eb089cb6576a135b8699 (patch) | |
tree | d3b03ad0d09022a99f2adc006881a93ed0ebe670 /src/nvim/lua/executor.c | |
parent | d6a6adf7082909d555914d85cac0a47d218d7b64 (diff) | |
download | rneovim-9ab9eb1220113d247dd1eb089cb6576a135b8699.tar.gz rneovim-9ab9eb1220113d247dd1eb089cb6576a135b8699.tar.bz2 rneovim-9ab9eb1220113d247dd1eb089cb6576a135b8699.zip |
fix(source): make changing 'shellslash' change expand() result
Diffstat (limited to 'src/nvim/lua/executor.c')
-rw-r--r-- | src/nvim/lua/executor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/lua/executor.c b/src/nvim/lua/executor.c index 2e5b411fad..a86f23db8e 100644 --- a/src/nvim/lua/executor.c +++ b/src/nvim/lua/executor.c @@ -1906,7 +1906,7 @@ void nlua_set_sctx(sctx_T *current) break; } char *source_path = fix_fname(info->source + 1); - get_current_script_id((char_u *)source_path, current); + get_current_script_id(&source_path, current); xfree(source_path); current->sc_lnum = info->currentline; current->sc_seq = -1; |