diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2015-08-13 12:20:53 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2015-08-13 12:20:53 -0300 |
commit | a94a68145b3c607d1e58f708ded8fe625c9973d5 (patch) | |
tree | 2d69f4f3a06f0ac5a4e936ec40bde81a26cf2b53 /src/nvim/msgpack_rpc/remote_ui.c | |
parent | 6bf322c6ff190b9f10c5286b3ae6fceedfbddb61 (diff) | |
parent | f1de097dbb236ea400150f80b909407ca9af7441 (diff) | |
download | rneovim-a94a68145b3c607d1e58f708ded8fe625c9973d5.tar.gz rneovim-a94a68145b3c607d1e58f708ded8fe625c9973d5.tar.bz2 rneovim-a94a68145b3c607d1e58f708ded8fe625c9973d5.zip |
Merge PR #3029 'Refactor event processing architecture'
Helped-by: oni-link <knil.ino@gmail.com>
Reviewed-by: oni-link <knil.ino@gmail.com>
Diffstat (limited to 'src/nvim/msgpack_rpc/remote_ui.c')
-rw-r--r-- | src/nvim/msgpack_rpc/remote_ui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/msgpack_rpc/remote_ui.c b/src/nvim/msgpack_rpc/remote_ui.c index e582bf9550..3334b0e6af 100644 --- a/src/nvim/msgpack_rpc/remote_ui.c +++ b/src/nvim/msgpack_rpc/remote_ui.c @@ -28,7 +28,7 @@ void remote_ui_init(void) connected_uis = pmap_new(uint64_t)(); // Add handler for "attach_ui" String method = cstr_as_string("ui_attach"); - MsgpackRpcRequestHandler handler = {.fn = remote_ui_attach, .defer = false}; + MsgpackRpcRequestHandler handler = {.fn = remote_ui_attach, .async = true}; msgpack_rpc_add_method_handler(method, handler); method = cstr_as_string("ui_detach"); handler.fn = remote_ui_detach; |