mirror of
https://github.com/qvacua/vimr.git
synced 2024-12-27 15:53:31 +03:00
Fix NvimApi playground
This commit is contained in:
parent
61abcdd189
commit
ec53729eed
@ -11,7 +11,7 @@ guard let nvim = NvimApi(at: "/tmp/nvim.sock") else {
|
||||
|
||||
nvim.connect()
|
||||
|
||||
if nvim.getMode().value?.dictionaryValue?[.string("blocked")]?.boolValue == true {
|
||||
if nvim.getMode().value?["blocking"]?.boolValue == true {
|
||||
print("blocked!")
|
||||
} else {
|
||||
print("not blocked!")
|
||||
|
Loading…
Reference in New Issue
Block a user