1
1
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:
Tae Won Ha 2017-12-09 18:24:10 +01:00
parent 61abcdd189
commit ec53729eed
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44

View File

@ -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!")