mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 15:15:24 +00:00
Implement folding ranges
This commit is contained in:
parent
e293a16d6b
commit
bd2b2f1b48
2 changed files with 90 additions and 1 deletions
|
@ -253,6 +253,7 @@ fn on_request(
|
|||
.on::<req::DecorationsRequest>(handlers::handle_decorations)?
|
||||
.on::<req::Completion>(handlers::handle_completion)?
|
||||
.on::<req::CodeActionRequest>(handlers::handle_code_action)?
|
||||
.on::<req::FoldingRangeRequest>(handlers::handle_folding_range)?
|
||||
.finish();
|
||||
match req {
|
||||
Ok((id, handle)) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue