diff options
author | Andy Russell <[email protected]> | 2021-05-04 22:13:51 +0100 |
---|---|---|
committer | Andy Russell <[email protected]> | 2021-05-23 20:50:36 +0100 |
commit | a90b9a5872c9c916733816e1e0d8c95cb09bfcba (patch) | |
tree | 6b170854407d2ed0e667623c8cdf1fb4a844230c /crates/rust-analyzer/src/main_loop.rs | |
parent | 16054887102104208f4a0fc0e75e702b85a2eae8 (diff) |
implement range formatting
Diffstat (limited to 'crates/rust-analyzer/src/main_loop.rs')
-rw-r--r-- | crates/rust-analyzer/src/main_loop.rs | 1 |
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 f837b89dd..e202da621 100644 --- a/crates/rust-analyzer/src/main_loop.rs +++ b/crates/rust-analyzer/src/main_loop.rs | |||
@@ -542,6 +542,7 @@ impl GlobalState { | |||
542 | .on::<lsp_types::request::Rename>(handlers::handle_rename) | 542 | .on::<lsp_types::request::Rename>(handlers::handle_rename) |
543 | .on::<lsp_types::request::References>(handlers::handle_references) | 543 | .on::<lsp_types::request::References>(handlers::handle_references) |
544 | .on::<lsp_types::request::Formatting>(handlers::handle_formatting) | 544 | .on::<lsp_types::request::Formatting>(handlers::handle_formatting) |
545 | .on::<lsp_types::request::RangeFormatting>(handlers::handle_range_formatting) | ||
545 | .on::<lsp_types::request::DocumentHighlightRequest>(handlers::handle_document_highlight) | 546 | .on::<lsp_types::request::DocumentHighlightRequest>(handlers::handle_document_highlight) |
546 | .on::<lsp_types::request::CallHierarchyPrepare>(handlers::handle_call_hierarchy_prepare) | 547 | .on::<lsp_types::request::CallHierarchyPrepare>(handlers::handle_call_hierarchy_prepare) |
547 | .on::<lsp_types::request::CallHierarchyIncomingCalls>( | 548 | .on::<lsp_types::request::CallHierarchyIncomingCalls>( |