From fba7b37eba0a252a4139c9d31b8ff25b7bac4d2f Mon Sep 17 00:00:00 2001 From: Ezequiel Rosas Date: Fri, 7 Jul 2017 11:45:20 -0500 Subject: [PATCH] Prevent Discard dialog when Neovim server stops --- VimR/MainWindow.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/VimR/MainWindow.swift b/VimR/MainWindow.swift index 9c3e94ef..1be2574f 100644 --- a/VimR/MainWindow.swift +++ b/VimR/MainWindow.swift @@ -409,6 +409,7 @@ extension MainWindow { func neoVimStopped() { self.isClosing = true self.windowController.close() + self.set(dirtyStatus: false) self.emit(self.uuidAction(for: .close)) if let cliPipePath = self.cliPipePath {