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-10 21:41:32 -0300
commit9b30abcecbc2492910f0281f596679714d95a88c (patch)
tree052e79fa603558ffeaf02cc0b996deff4bba8cb5 /src/nvim/msgpack_rpc/channel.c
parent748920d505e2997c79e08d87d09c564eaea23a2f (diff)
downloadrneovim-9b30abcecbc2492910f0281f596679714d95a88c.tar.gz
rneovim-9b30abcecbc2492910f0281f596679714d95a88c.tar.bz2
rneovim-9b30abcecbc2492910f0281f596679714d95a88c.zip
remote_ui: Move handler registration to remote_ui.c
Also don't defer attach_ui handling
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);
}
}