1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-11-28 02:54:31 +03:00

Update sources

This commit is contained in:
Tae Won Ha 2020-06-20 10:15:06 +02:00
parent db77bb0cb0
commit c9f74e9c1c
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44

View File

@ -1326,6 +1326,34 @@ extension RxNeovimApi {
.asCompletable()
}
public func uiPumSetBounds(
width: Float,
height: Float,
row: Float,
col: Float,
expectsReturnValue: Bool = false
) -> Completable {
let params: [RxNeovimApi.Value] = [
.float(width),
.float(height),
.float(row),
.float(col),
]
if expectsReturnValue {
return self
.checkBlocked(
self.rpc(method: "nvim_ui_pum_set_bounds", params: params, expectsReturnValue: expectsReturnValue)
)
.asCompletable()
}
return self
.rpc(method: "nvim_ui_pum_set_bounds", params: params, expectsReturnValue: expectsReturnValue)
.asCompletable()
}
public func exec(
src: String,
output: Bool,