More robust highlighting

This commit is contained in:
Aleksey Kladov 2018-08-28 00:20:59 +03:00
parent 010075be6a
commit 8f5330cb07
4 changed files with 38 additions and 3 deletions

View file

@ -30,6 +30,7 @@ use {
handle_join_lines,
handle_completion,
handle_runnables,
handle_decorations,
},
};
@ -157,6 +158,9 @@ fn on_request(
handle_request_on_threadpool::<req::JoinLines>(
&mut req, pool, world, sender, handle_join_lines,
)?;
handle_request_on_threadpool::<req::DecorationsRequest>(
&mut req, pool, world, sender, handle_decorations,
)?;
dispatch::handle_request::<req::ExecuteCommand, _>(&mut req, |params, resp| {
io.send(RawMsg::Response(resp.into_response(Ok(None))?));