diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-07-08 08:27:39 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-08 08:27:39 +0800 |
commit | 559c4cfd52e385c1b9bd5fa66a0eeb7e8d9e018a (patch) | |
tree | a03244eafab3110b07c1895fc8059bf7c85513eb /src/nvim/ui_client.c | |
parent | c379d72c490544b3a56eb0e52ce3c8ef740051d8 (diff) | |
download | rneovim-559c4cfd52e385c1b9bd5fa66a0eeb7e8d9e018a.tar.gz rneovim-559c4cfd52e385c1b9bd5fa66a0eeb7e8d9e018a.tar.bz2 rneovim-559c4cfd52e385c1b9bd5fa66a0eeb7e8d9e018a.zip |
fix(startup): run embedded Nvim with real path (#24282)
fix(startup): run embedded process with real path
Diffstat (limited to 'src/nvim/ui_client.c')
-rw-r--r-- | src/nvim/ui_client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/ui_client.c b/src/nvim/ui_client.c index 0fc6d4936d..cc564f4777 100644 --- a/src/nvim/ui_client.c +++ b/src/nvim/ui_client.c @@ -53,8 +53,8 @@ uint64_t ui_client_start_server(int argc, char **argv) CallbackReader on_err = CALLBACK_READER_INIT; on_err.fwd_err = true; - Channel *channel = channel_job_start(args, CALLBACK_READER_INIT, - on_err, CALLBACK_NONE, + Channel *channel = channel_job_start(args, get_vim_var_str(VV_PROGPATH), + CALLBACK_READER_INIT, on_err, CALLBACK_NONE, false, true, true, false, kChannelStdinPipe, NULL, 0, 0, NULL, &exit_status); |