           }
 
         if self.mainWindows.isEmpty {
-          // We exit here if there are no main windows open. Otherwise, when hide/quit after last main window is active,
-          // you have to be really quick to open a new window when re-activating VimR w/o automatic new main window.
+          // We exit here if there are no main windows open.
+          // Otherwise, when hide/quit after last main window is active,
+          // you have to be really quick to open a new window
+          // when re-activating VimR w/o automatic new main window.
           return
         }
 

          .filter { !uuidsInState.contains($0) }
          .forEach(self.removeMainWindow)

        guard self.mainWindows.isEmpty else {
          return
        }

        switch state.afterLastWindowAction {


    case quit
  }

  required init(
    source: Observable<StateType>,
    emitter: ActionEmitter,
    state: StateType
  ) {
    self.source = source
    self.emitter = emitter
    self.emit = emitter.typedEmit()

    self.fileMonitor = FileMonitor(source: source,
                                   emitter: emitter,
                                   state: state)
    self.openQuicklyWindow = OpenQuicklyWindow(source: source,
                                               emitter: emitter,
                                               state: state)
    self.prefWindow = PrefWindow(source: source, emitter: emitter, state: state)

    source
