1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-11-28 19:47:41 +03:00

Merge pull request #484 from nhtzr/fix-qa

Set window as non-dirty when NeoVim stops
This commit is contained in:
Tae Won Ha 2017-07-08 09:58:33 +02:00 committed by GitHub
commit 0138899e40

View File

@ -409,6 +409,7 @@ extension MainWindow {
func neoVimStopped() { func neoVimStopped() {
self.isClosing = true self.isClosing = true
self.windowController.close() self.windowController.close()
self.set(dirtyStatus: false)
self.emit(self.uuidAction(for: .close)) self.emit(self.uuidAction(for: .close))
if let cliPipePath = self.cliPipePath { if let cliPipePath = self.cliPipePath {