diff options
| -rw-r--r-- | src/nvim/ex_cmds2.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/nvim/ex_cmds2.c b/src/nvim/ex_cmds2.c index cd1b066fdd..177e404e35 100644 --- a/src/nvim/ex_cmds2.c +++ b/src/nvim/ex_cmds2.c @@ -760,7 +760,7 @@ void ex_profile(exarg_T *eap)    if (len == 5 && STRNCMP(eap->arg, "start", 5) == 0 && *e != NUL) {      free(profile_fname); -    profile_fname = vim_strsave(e); +    profile_fname = expand_env_save_opt(e, true);      do_profiling = PROF_YES;      profile_set_wait(profile_zero());      set_vim_var_nr(VV_PROFILING, 1L); | 
