diff --git a/Nvim/Nvim/AppDelegate.swift b/Nvim/Nvim/AppDelegate.swift
index b06de083..e2270df7 100644
--- a/Nvim/Nvim/AppDelegate.swift
+++ b/Nvim/Nvim/AppDelegate.swift
@@ -11,16 +11,7 @@ import Cocoa
@NSApplicationMain
class AppDelegate: NSObject, NSApplicationDelegate {
-
-
func applicationDidFinishLaunching(_ aNotification: Notification) {
// Insert code here to initialize your application
}
-
- func applicationWillTerminate(_ aNotification: Notification) {
- // Insert code here to tear down your application
- }
-
-
}
-
diff --git a/Nvim/Nvim/Document.swift b/Nvim/Nvim/Document.swift
index b008449b..83ec8101 100644
--- a/Nvim/Nvim/Document.swift
+++ b/Nvim/Nvim/Document.swift
@@ -18,7 +18,6 @@ class Document: NSDocument, NSWindowDelegate {
override init() {
super.init()
- // Add your subclass-specific initialization here.
nvimView
.events
@@ -26,10 +25,10 @@ class Document: NSDocument, NSWindowDelegate {
switch event {
case .neoVimStopped:
- self.close()
+ DispatchQueue.main.async { self.close() }
default:
- Swift.print("other event: \(event)")
+ break
}
})
diff --git a/VimR/VimR.xcodeproj/xcshareddata/xcschemes/VimR.dev.xcscheme b/VimR/VimR.xcodeproj/xcshareddata/xcschemes/VimR.dev.xcscheme
index fc0ff521..335509f5 100644
--- a/VimR/VimR.xcodeproj/xcshareddata/xcschemes/VimR.dev.xcscheme
+++ b/VimR/VimR.xcodeproj/xcshareddata/xcschemes/VimR.dev.xcscheme
@@ -62,6 +62,16 @@
+
+
+
+