[vim] Do not restore working directory on unexpected cwd
Before adoption: this commit came in with the history the project adopted, so no landing records it.
We should not restore the previous working directory if the current directory has changed somehow. This can happen when &autochdir is set.
authored by Junegunn Choi · committed by Junegunn Choi · parent 6e08fe3 · Browse files · 1 file+1 added−1 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+1 added−1 removed
- other:+1 added−1 removed