Implement folding ranges

This commit is contained in:
Jeremy A. Kolb 2018-09-23 11:13:27 -04:00
parent e293a16d6b
commit bd2b2f1b48
2 changed files with 90 additions and 1 deletions

View file

@ -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)) => {