mirror of
https://github.com/neovim/neovim.git
synced 2025-09-15 15:58:17 +00:00
revert: partially revert #9894
Vim has a solution to #9892 with fewer side-effects in patch 8.2.3618
This commit is contained in:
@@ -1587,7 +1587,6 @@ 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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user