1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-10-26 17:59:08 +03:00

Merge pull request #1078 from shanesmith/fix-non-global-cd

Fix lcd/tcd
This commit is contained in:
Tae Won Ha 2024-06-30 15:52:14 +02:00 committed by GitHub
commit 4a6adfdb6b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 1 deletions

View File

@ -508,6 +508,7 @@ extension NvimView {
self.bridgeLogger.debug(cwd)
self._cwd = URL(fileURLWithPath: cwd)
self.tabBar?.cwd = cwd
self.eventsSubject.onNext(.cwdChanged)
}

View File

@ -19,7 +19,6 @@ final class MainWindowReducer: ReducerType {
case let .cd(to: cwd):
if state.cwd != cwd {
state.cwd = cwd
state.cwdToSet = cwd // Ensure updates also pend to tab bar
}
case let .setBufferList(buffers):