diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-11-21 17:47:09 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-21 17:47:09 -0500 |
commit | 0d967f0298a355452f62b9c76c34e102a6b9016e (patch) | |
tree | 467949d95f8bb1791a31c7439846bf6d2755d3e1 /src/nvim/window.c | |
parent | d99d4af7b129032865cb5a4fd8e6999e73460fb0 (diff) | |
parent | 349b9ce9df0c7f48ce236216ab0d2c507f483425 (diff) | |
download | rneovim-0d967f0298a355452f62b9c76c34e102a6b9016e.tar.gz rneovim-0d967f0298a355452f62b9c76c34e102a6b9016e.tar.bz2 rneovim-0d967f0298a355452f62b9c76c34e102a6b9016e.zip |
Merge pull request #16362 from zeertzjq/vim-8.2.3617
vim-patch:8.2.{3468,3617,3618,3622}: some other CWD related patches
Diffstat (limited to 'src/nvim/window.c')
-rw-r--r-- | src/nvim/window.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/window.c b/src/nvim/window.c index 9c13264684..4731c2cd41 100644 --- a/src/nvim/window.c +++ b/src/nvim/window.c @@ -4592,6 +4592,7 @@ void fix_current_dir(void) do_autocmd_dirchanged(new_dir, curwin->w_localdir ? kCdScopeWindow : kCdScopeTabpage, kCdCauseWindow); } + last_chdir_reason = NULL; shorten_fnames(true); } } else if (globaldir != NULL) { @@ -4603,6 +4604,7 @@ void fix_current_dir(void) } } XFREE_CLEAR(globaldir); + last_chdir_reason = NULL; shorten_fnames(true); } } |