mirror of
https://github.com/qvacua/vimr.git
synced 2024-12-25 14:52:19 +03:00
Quote args for nvim
This commit is contained in:
parent
1fa09a7d22
commit
7ceeef4a30
@ -368,7 +368,9 @@ class UiBridge {
|
||||
|
||||
nvimArgs.append("--headless")
|
||||
let cmd = "exec '\(self.nvimServerExecutablePath())' '\(self.localServerName)' '\(self.remoteServerName)' "
|
||||
.appending(self.nvimArgs.map { "\($0)" }.joined(separator: " "))
|
||||
.appending(self.nvimArgs.map { "'\($0)'" }.joined(separator: " "))
|
||||
|
||||
self.logger.debug(cmd)
|
||||
|
||||
let writeHandle = inputPipe.fileHandleForWriting
|
||||
guard let cmdData = cmd.data(using: .utf8) else {
|
||||
|
Loading…
Reference in New Issue
Block a user