Merge pull request #16362 from zeertzjq/vim-8.2.3617

vim-patch:8.2.{3468,3617,3618,3622}: some other CWD related patches
This commit is contained in:
Jan Edmund Lazo
2021-11-21 17:47:09 -05:00
committed by GitHub
14 changed files with 165 additions and 32 deletions

View File

@@ -1587,7 +1587,7 @@ void do_autochdir(void)
if (starting == 0
&& curbuf->b_ffname != NULL
&& vim_chdirfile(curbuf->b_ffname, kCdCauseAuto) == OK) {
post_chdir(kCdScopeGlobal, false);
last_chdir_reason = "autochdir";
shorten_fnames(true);
}
}