diff --git a/SwiftNeoVim/NeoVimView+Api.swift b/SwiftNeoVim/NeoVimView+Api.swift index 2a777fec..a8e9c08c 100644 --- a/SwiftNeoVim/NeoVimView+Api.swift +++ b/SwiftNeoVim/NeoVimView+Api.swift @@ -7,10 +7,6 @@ import Cocoa extension NeoVimView { - public func syncNeoVimWithBounds() { - self.resizeNeoVimUi(to: self.bounds.size) - } - public func enterResizeMode() { self.currentlyResizing = true self.needsDisplay = true diff --git a/SwiftNeoVim/NeoVimView+Resize.swift b/SwiftNeoVim/NeoVimView+Resize.swift index 85a22023..9aa3256a 100644 --- a/SwiftNeoVim/NeoVimView+Resize.swift +++ b/SwiftNeoVim/NeoVimView+Resize.swift @@ -10,11 +10,6 @@ extension NeoVimView { override public func setFrameSize(_ newSize: NSSize) { super.setFrameSize(newSize) - // initial resizing is done when grid has data - guard self.grid.hasData else { - return - } - if self.inLiveResize || self.currentlyResizing { // TODO: Turn off live resizing for now. // self.resizeNeoVimUi(to: newSize) diff --git a/VimR/MainWindow.swift b/VimR/MainWindow.swift index 095a0b77..26beb95d 100644 --- a/VimR/MainWindow.swift +++ b/VimR/MainWindow.swift @@ -234,7 +234,6 @@ class MainWindow: NSObject, self.open(urls: state.urlsToOpen) self.window.makeFirstResponder(self.neoVimView) - self.neoVimView.syncNeoVimWithBounds() } func show() {