aboutsummaryrefslogtreecommitdiff
path: root/crates/rust-analyzer/src/main_loop.rs
diff options
context:
space:
mode:
authorkjeremy <[email protected]>2020-02-14 22:56:28 +0000
committerJeremy Kolb <[email protected]>2020-02-25 01:59:58 +0000
commit9f0cfb7ad2120514ca8ffd21e08e3ddd0bfb34e9 (patch)
treeb8ca50525e88fbdfee8b34d826cc0526ff0c3787 /crates/rust-analyzer/src/main_loop.rs
parent558d263a0c602ef12914cbb10c263a9e2bb96bf2 (diff)
Teach the server about Semantic Tokens proposed LSP
Diffstat (limited to 'crates/rust-analyzer/src/main_loop.rs')
-rw-r--r--crates/rust-analyzer/src/main_loop.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/rust-analyzer/src/main_loop.rs b/crates/rust-analyzer/src/main_loop.rs
index 98306986b..6e9e604a6 100644
--- a/crates/rust-analyzer/src/main_loop.rs
+++ b/crates/rust-analyzer/src/main_loop.rs
@@ -528,6 +528,7 @@ fn on_request(
528 .on::<req::CallHierarchyIncomingCalls>(handlers::handle_call_hierarchy_incoming)? 528 .on::<req::CallHierarchyIncomingCalls>(handlers::handle_call_hierarchy_incoming)?
529 .on::<req::CallHierarchyOutgoingCalls>(handlers::handle_call_hierarchy_outgoing)? 529 .on::<req::CallHierarchyOutgoingCalls>(handlers::handle_call_hierarchy_outgoing)?
530 .on::<req::Ssr>(handlers::handle_ssr)? 530 .on::<req::Ssr>(handlers::handle_ssr)?
531 .on::<req::SemanticTokensRequest>(handlers::handle_semantic_tokens)?
531 .finish(); 532 .finish();
532 Ok(()) 533 Ok(())
533} 534}