mirror of
https://github.com/qvacua/vimr.git
synced 2024-11-28 02:54:31 +03:00
Update sources
This commit is contained in:
parent
db77bb0cb0
commit
c9f74e9c1c
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user