You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I feel like the scope argument might make less sense in the case where it's not triggered by an explicit cd, lcd, or tcd. I suppose in your example it would be win, but I could imagine cases where it's not as clear cut, like switching to a split whose pwd was determined by a global directory change.
like switching to a split whose pwd was determined by a global directory change.
In that case the scope would be "global", because that is the effective scope. Whether anyone will ever find this useful, I'm not sure. But the internal logic is such that exposing the conclusion is straightforward, so that's what we do.
:help DirChanged
says:But DirChanged only fires on an explicit call to e.g.
:lcd
. It should also fire when user focuses a window or tab which causes CWD to change. Example:see neovim/neovim-ruby#22 (comment)
cc @mhinz
The text was updated successfully, but these errors were encountered: