mirror of
https://github.com/qvacua/vimr.git
synced 2024-11-23 19:21:53 +03:00
Remove unused field
This commit is contained in:
parent
ecd9513d43
commit
0a170cebdb
@ -67,9 +67,6 @@ extension NvimView {
|
||||
|
||||
private func launchNeoVim(_ size: Size) {
|
||||
self.log.info("=== Starting neovim...")
|
||||
let sockPath = self.bridge.listenAddress
|
||||
|
||||
self.log.info("NVIM_LISTEN_ADDRESS=\(sockPath)")
|
||||
|
||||
let inPipe: Pipe, outPipe: Pipe, errorPipe: Pipe
|
||||
do {
|
||||
|
@ -71,9 +71,6 @@ final class UiBridge {
|
||||
|
||||
private func launchNvimUsingLoginShellEnv() throws -> (Pipe, Pipe, Pipe) {
|
||||
var env = self.envDict
|
||||
env["NVIM_LISTEN_ADDRESS"] = self.listenAddress
|
||||
|
||||
self.log.debug("Socket: \(self.listenAddress)")
|
||||
|
||||
let inPipe = Pipe()
|
||||
let outPipe = Pipe()
|
||||
@ -131,11 +128,6 @@ final class UiBridge {
|
||||
private var initialHeight = 20
|
||||
|
||||
private let disposeBag = DisposeBag()
|
||||
|
||||
var listenAddress: String {
|
||||
URL(fileURLWithPath: NSTemporaryDirectory())
|
||||
.appendingPathComponent("vimr_\(self.uuid).sock").path
|
||||
}
|
||||
}
|
||||
|
||||
private let timeout = 5
|
||||
|
Loading…
Reference in New Issue
Block a user