Skip to content

Commit

Permalink
Merge pull request #1078 from shanesmith/fix-non-global-cd
Browse files Browse the repository at this point in the history
Fix lcd/tcd
  • Loading branch information
qvacua authored Jun 30, 2024
2 parents 88517d9 + 0c0a215 commit 4a6adfd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions NvimView/Sources/NvimView/NvimView+UiBridge.swift
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,7 @@ extension NvimView {

self.bridgeLogger.debug(cwd)
self._cwd = URL(fileURLWithPath: cwd)
self.tabBar?.cwd = cwd
self.eventsSubject.onNext(.cwdChanged)
}

Expand Down
1 change: 0 additions & 1 deletion VimR/VimR/MainWindowReducer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 4a6adfd

Please sign in to comment.