aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/msgpack_rpc/channel.c
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-12-13 09:20:00 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2015-01-13 11:53:27 -0300
commit8c12292a6129381dada53009ff90e4e22545f60b (patch)
tree8121e7c224a5e58e8c44cb7464abc48f908ea512 /src/nvim/msgpack_rpc/channel.c
parentf0a944d3cf5d8f74f381cbf4fa8dc99cd99bca03 (diff)
downloadrneovim-8c12292a6129381dada53009ff90e4e22545f60b.tar.gz
rneovim-8c12292a6129381dada53009ff90e4e22545f60b.tar.bz2
rneovim-8c12292a6129381dada53009ff90e4e22545f60b.zip
remote_ui: Move handler registration to remote_ui.c
Also disable deferral of attach_ui
Diffstat (limited to 'src/nvim/msgpack_rpc/channel.c')
-rw-r--r--src/nvim/msgpack_rpc/channel.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/nvim/msgpack_rpc/channel.c b/src/nvim/msgpack_rpc/channel.c
index 4c35cce09a..f3c5a7a1e2 100644
--- a/src/nvim/msgpack_rpc/channel.c
+++ b/src/nvim/msgpack_rpc/channel.c
@@ -103,14 +103,7 @@ void channel_init(void)
}
if (abstract_ui) {
- // Add handler for "attach_ui"
remote_ui_init();
- String method = cstr_as_string("attach_ui");
- MsgpackRpcRequestHandler handler = {.fn = remote_ui_attach, .defer = true};
- msgpack_rpc_add_method_handler(method, handler);
- method = cstr_as_string("detach_ui");
- handler.fn = remote_ui_detach;
- msgpack_rpc_add_method_handler(method, handler);
}
}